Bone marrow is the soft tissue found inside bones that functions mainly to produce red blood cells, white blood cells, and platelets.