Hemoglobin is the pigment in red blood cells which is responsible for binding and transporting oxygen.