According to the first law of thermodynamics,
Step-by-step explanation:
In thermodynamics, energy is in the form of heat.
For instance, when a substance is heated, the state of the substance is changed.
Here, the energy in the form of heat when provided to a substance is converted to the kinetic energy of the molecules, which results in inter-molecular separation.
Another example is tea gets cold when kept outside.
The heat energy of the tea is transferred to the surroundings.
Here, energy is transferred from the tea to the surroundings.