Upper and lower sums are methods used to approximate the area under a curve by partitioning the interval into subintervals and using the supremum and infimum of the function on each subinterval to form rectangular sums. These sums provide bounds for the definite integral and are fundamental in understanding the concept of Riemann integrability of a function over an interval.