Heat is the transfer of energy from one body to another due to a difference in temperature between the two. It is a macroscopic quantity that abstracts away the complexity of the actual microscopic interactions, which are transfers of kinetic energy due to collisions between individual atoms and molecules. Heat is not energy per se, as much as it is the transfer of energy from one place to another. A body therefore never "contains" heat, but it may absorb and emanate it.
An amount of heat absorbed by a body causes a rise in its temperature given by
where is the heat capacity of the body.