The structure of trabecular bone is highly porous, consisting of a network of trabeculae. These trabeculae are oriented along lines of mechanical stress, optimizing the bone's strength-to-weight ratio. The spaces within this lattice-like structure are filled with bone marrow, which is involved in the production of blood cells.