Simulated annealing is a global optimization technique inspired by the physical process of annealing in solids. It can find the global minimum of a cost function by slowly cooling the system. At each temperature, the algorithm accepts random moves to neighboring solutions with a probability based on the change in cost and current temperature. This allows occasionally moving to higher-cost solutions and avoids getting stuck in local minima. While slower than local search methods, simulated annealing is more likely to find the global optimum solution over multiple iterations as the temperature decreases.