Heme biosynthesis is coupled to electron transport chains for energy generation