Simulated annealing (SA) is a probabilistic optimization technique inspired by the process of annealing in metallurgy. It is used to find an approximate solution to an optimization problem by exploring the search space in a way that allows occasional uphill moves. This helps to avoid getting trapped in local minima and facilitates the discovery of a global minimum.