Calculus is the mathematical study of change. It has two main areas: differential calculus concerns slopes and rates of change, while integral calculus concerns area and volume. The foundations of calculus were established in the late 17th century by Newton and Leibniz, who recognized that differentiation and integration are inverse processes. Calculus is based on the concept of a limit, which allows approximating values that cannot be calculated directly. The document then provides an example of using limits to calculate the area under a curve by dividing it into rectangular elements and taking the sum as the number of elements approaches infinity.