As elaborated by the Massachusetts Institute of Technology, heat is a powerful force that can affect a material in many ways.

Almost all solid materials expand when heated and many shrink when cooled. In very rare instances certain materials actually shrink when heated. This class of “metamaterials” are especially interesting for research as explained in this video presented by MIT.