A group of electron carriers in mitochondria that transport electrons to and from each other in a sequence, in order to generate compounds for the storage of energy in cells such as adenosine triphosphate (ATP). ATP serves as the cell's major energy source and drives a number of biological processes including muscle contraction and the production of protein.