A closed system is a thermodynamic system without exchange of matter but exchange of heat.
Properties of isolated, closed, and open systems in exchanging energy and matter