text: Hemoproteins have diverse biological functions including the transportation of diatomic gases, chemical catalysis, diatomic gas detection, and electron transfer. The heme iron serves as a source or sink of electrons during electron transfer or redox chemistry. In peroxidase reactions, the porphyrin molecule also serves as an electron source, being able to delocalize radical electrons in the conjugated ring. In the transportation or detection of diatomic gases, the gas binds to the heme iron. During the detection of diatomic gases, the binding of the gas ligand to the heme iron induces conformational changes in the surrounding protein. In general, diatomic gases only bind to the reduced heme, as ferrous Fe(II) while most peroxidases cycle between Fe(III) and Fe(IV) and hemeproteins involved in mitochondrial redox, oxidation-reduction, cycle between Fe(II) and Fe(III).
  It has been speculated that the original evolutionary function of hemoproteins was electron transfer in primitive sulfur-based photosynthesis pathways in ancestral cyanobacteria-like organisms before the appearance of molecular oxygen.
  Hemoproteins achieve their remarkable functional diversity by modifying the environment of the heme macrocycle within the protein matrix. For example, the ability of hemoglobin to effectively deliver oxygen to tissues is due to specific amino acid residues located near the heme molecule. Hemoglobin reversibly binds to oxygen in the lungs when the pH is high, and the carbon dioxide concentration is low. When the situation is reversed (low pH and high carbon dioxide concentrations), hemoglobin will release oxygen into the tissues. This phenomenon, which states that hemoglobin's oxygen binding affinity is inversely proportional to both acidity and concentration of carbon dioxide, is known as the Bohr effect. The molecular mechanism behind this effect is the steric organization of the globin chain; a histidine residue, located adjacent to the heme group, becomes positively charged under acidic conditions (which are caused by dissolved CO in working muscles, etc.), releasing oxygen from the heme group.