The primary function of spongy bone is to provide structural support and facilitate the production of blood cells. The [trabeculae](https://) within spongy bone are oriented along lines of stress, helping to absorb and distribute mechanical loads efficiently. Additionally, the porous nature of spongy bone allows for the storage and protection of [bone marrow](https://), which is responsible for the production of red and white blood cells and platelets.