In cellular biology, mitochondria are often referred to as the "powerhouses of the cell." This is because they play a crucial role in energy production through the process of cellular respiration. Which of the following statements best describes the primary function of mitochondria in eukaryotic cells?