The process of heating and slow cooling a substance in order to toughen and render it less brittle. This process can be applied to metal and glass, among other materials.