Jim spent a hot summer day playing soccer with his friends. He was sweating throughout the day, but he stopped sweating once he went back to his air-conditioned room. Which characteristic of life is demonstrated by this situation?

A)acquiring energy

B)homeostasis

C)reproduction

D)respiration