Temperature is a measure of the average kinetic energy of the particles in a substance, reflecting how hot or cold that substance is. It plays a crucial role in determining the state of matter, as well as the behavior of materials under different conditions, influencing phenomena such as thermal expansion and heat transfer.