The substance inside red blood cells that binds to oxygen in the lungs and carries it to the tissues.