Intramembranous ossification is the direct conversion of mesenchymal tissue into bone, occurring mainly in flat bones of the skull and some facial bones. Endochondral ossification involves the replacement of cartilage with bone and is the primary process for long bone growth.