Before revision: A closed system is a physical system that does not allow transfer of matter in or out of the system, though, in different contexts, such as physics, chemistry or engineering, the transfer of energy is or is not allowed.
After revision: A closed system is a physical system that does not allow transfer of matter in or out of the system, though, in contexts, such as physics, chemistry or engineering, the transfer of energy is allowed.