The basic structure of bones is bone matrix, which makes up the underlying rigid framework of bones, composed of both compact bone and spongy bone. The bone matrix consists of tough protein fibers, mainly collagen, that become hard and rigid due to mineralization with calcium crystals.