PetM is a component of the cytochrome b6f complex. The cytochrome b6f complex provides the electronic connection between the photosystem I and photosystem II reaction centers of oxygenic photosynthesis and generates a transmembrane electrochemical proton gradient for adenosine triphosphate synthesis.