Photosynthetic pigments convert light into biochemical energy. Examples for photosynthetic pigments are chlorophyll, carotenoids and phycobilins. These pigments enter a high-energy state upon absorbing a photon which they can release in the form of chemical energy. This can occur via light-driven pumping of ions across a biological membrane (e.g. in the case of the proton pump bacteriorhodopsin) or via excitation and transfer of electrons released by photolysis (e.g. in the photosystems of the thylakoid membranes of plant chloroplasts). In chloroplasts, the light-driven electron transfer chain in turn drives the pumping of protons across the membrane.