Medullary cavity refers to marrow cavity between the walls of the diaphysis, containing yellow or fatty marrow.