The main function of red blood cells is to transport gases throughout the body. Red blood cells carry oxygen from the lungs to cells around the body. They also collect carbon dioxide from the body’s cells and transport it back to the lungs. A person then exhales the carbon dioxide.