An open system can exchange both matter and energy with the surroundings, like a coffee cup
A closed system has a fixed amount of matter, but it can exchange energy with the surroundings, like a bottle of water.
An isolated system has no contact with its surroundings, like a thermos.