The document discusses the first law of thermodynamics. It can be applied to both closed systems (control mass) and open systems (control volume). For a control mass, the first law states that the change in total energy equals heat supplied minus work done. For a control volume, it also accounts for energy entering/leaving with mass flow. Examples of applying the first law to systems include turbines, compressors, nozzles, heat exchangers, and piston cylinder devices in both steady and unsteady operating conditions.