Thermochromism is a property of certain materials or pigments that change color when there is a change in temperature. These materials react to heat or cold by altering the structure of their molecules, which affects how they reflect light and, therefore, their color.