Energy metabolism is the process of generating energy (ATP) from nutrients. Metabolism comprises a series of interconnected pathways that can function in the presence or absence of oxygen.