Relate membranes to energy metabolism, redox reactions, and ATP synthesis in both eukaryotic and prokaryotic cells.