Heat is energy in transit that is transferred from one object to another due to a temperature difference. It becomes the internal energy of the receiving body. Internal energy is the sum of all kinetic and potential energies within a body, and increases as temperature rises due to atoms moving farther apart. Temperature can be defined microscopically as the average kinetic energy of molecules or macroscopically as a measure of hotness and coldness. When heated, substances expand in size due to increased vibrational motion of atoms, known as thermal expansion which can be linear, areal, or volumetric as it changes length, area, or volume respectively.