Genetic algorithms are a heuristic search technique inspired by natural selection. They work by evolving a population of candidate solutions over generations by applying genetic operators like crossover and mutation to combine solutions and introduce random variations. Genetic algorithms are applicable when the search space is very large or complex and traditional search methods are intractable. They have been successfully applied to problems like antenna design, image compression, and rule learning from examples.