The electron transport chain is a series of protein complexes and electron carriers embedded in the inner membrane of mitochondria or the thylakoid membrane of chloroplasts. It is a crucial component of cellular respiration and photosynthesis, responsible for the final stages of energy production in living organisms.