The formation of the bone matrix is known as ossification. There are two types of ossification: intramembranous ossification and endochondral ossification. Intramembranous ossification occurs in flat bones like the skull, whereas endochondral ossification occurs in long bones like the femur. Both processes involve the secretion of matrix components by osteoblasts, followed by the mineralization of this matrix.