Closed system

A closed system is a natural physical system that does not allow transfer of matter in or out of the system, although  in the contexts of physics, chemistry, engineering, etc.  the transfer of energy (e.g. as work or heat) is allowed.