A closed system is a type of thermodynamic system that can exchange energy with its surroundings but not matter. This means that while energy can flow in or out of the system, the mass within the system remains constant, making it a critical concept when analyzing energy transformations and conservation principles in thermodynamics.