The method of exhaustion is an ancient mathematical technique used to find the area under a curve by inscribing and circumscribing polygons. It involves calculating the areas of these polygons and taking the limit as the number of sides increases indefinitely.