A closed system is a concept used in thermodynamics (physics and engineering) and in chemistry. It differs from an isolated system.
Closed System Definition
A closed system is a type of thermodynamic system where mass is conserved within the boundaries of the system, but energy is allowed to freely enter or exit the system.
In chemistry, a closed system is one in which neither reactants nor products can enter or escape, yet which allows energy transfer (heat and light). A closed system may be used for experiments where temperature isn't a factor.