An open system can exchange both energy and matter with its surroundings. The stovetop example would be an open system, because heat and water vapor can be lost to the air. A closed system, on the other hand, can exchange only energy with its surroundings, not matter. In thermodynamics, a closed system can exchange energy but not matter, with its surroundings. An isolated system cannot exchange any heat, work, or matter with the surroundings, while an open system can exchange energy and matter.