In the context of thermodynamics, the first law states that energy cannot be created or destroyed, only transformed from one form to another. This principle has important implications in biological systems. Which of the following represents the correct formulation of the first law of thermodynamics?