The electron transport chain (ETC) is a series of protein complexes and other molecules embedded in the inner membrane of the mitochondria of eukaryotic cells. Its primary function is to generate a proton gradient that drives the production of adenosine triphosphate (ATP), the energy currency of the cell. This process is part of cellular respiration and is crucial for the production of energy in cells.