The integral is the area between a curve and the axis. Approximate it with rectangles, then add more — the Riemann sum squeezes toward the exact answer as the strips get thin.