Which of the following best defines an open system as used in mechanics?
a) A system that can exchange energy but not mass with its surroundings.
b) A system that can exchange mass and/or energy with its surroundings across its boundary.
c) A system that exchanges neither mass nor energy with its surroundings.
d) A system that can exchange mass but not energy with its surroundings.