When physical properties change at temperatures in metals and alloys. The metals undergo heat treatment.