Which occurs when a warm fluid cools down?

Energy is released to the environment.

Energy is absorbed from the environment.

The density of the fluid decreases.

The mass of the fluid decreases.