Bone marrow is the soft tissue located within bones that produce all blood cells, including the ones that fight infection.