Annealing is a heat treatment process primarily used to soften metals and relieve internal stresses.