Particle Swarm Optimization (PSO) is a population-based stochastic optimization algorithm inspired by the collective motion of biological swarms like bird flocks. It operates by initializing a population of candidate solutions, called particles, which fly through the problem search space. Each particle's movement is influenced by its own best-known position (pbest) and the best-known position in its neighborhood (gbest or lbest), balancing exploration and exploitation to converge on an optimal solution.
