Particle Swarm Optimization (PSO) is an optimization technique inspired by swarm behavior in animals. It works by having a population (swarm) of potential solutions (particles) and updating the movement of the particles based on their personal best position and the global best position. The basic algorithm initializes a swarm of random particles and then iteratively updates the velocity and position of particles using equations that factor in inertia, cognition toward personal best, and social behavior toward global best. PSO has been shown to perform comparably to genetic algorithms but requires fewer parameters to adjust. Variants and hybridizations of PSO have also been developed to improve performance for different problem types.