The first law of thermodynamics is a fundamental principle that describes the relationship between energy, work, and heat. It states that energy can be transformed from one form to another, but it cannot be created or destroyed; the total energy of an isolated system is constant.