In thermodynamics, a closed system is a system where _____

A) entropy is decreasing
B) the entropy remains the same
C) energy is available to do work
D) the amount of energy remains constant