A solid of revolution is a solid figure made by rotating a curve about an axis, in a way reminiscent of the way a lathe works. The general method for determining the volume of these things was worked out several centuries ago by Riemann, who is generally credited with the development of the subfield of mathematics that this sort of thing falls under: differential geometry.
The simplest solid of revolution is a cylinder. In this example, the curve that generates the volume is a line parallel to the axis of revolution, which, while sounding the United States' next enemy combatant or a really cool rock band, is usually something boring like the x-axis or y-axis on the Cartesian plane. No calculus is needed to find the volume of a cylinder. Even in ancient times it was known that the volume of a prism is equal to the height times the area of the base, and in this case the base is a circle with area πr2.
The next simplest solid of revolution is a cone. In this case, the curve is a straight line that crosses the axis of revolution. This formula too was known to the ancients, who generalized (correctly) that the volume of a pyramid is one third the volume of the prism with the same height and base.
The limit of ancient knowledge in this area is due to everyone's favorite last great Greek mathematician, Pappus of Alexandria, who said that the volume of a real-world solid of revolution was equal to the area of a radial cross-section (that is, the area between the curve being rotated and the axis of revolution) times the circumference of the circle traversed by the centroid of said cross-section. Pretty awesome for someone who hadn't heard of calculus and didn't have Mathematica to draw 3-D pictures for him. Pappus' theorem gives the formula for a cone, cylinder, sphere, and torus without resorting to calculus. Luckily, we can do better.
If we consider the x-axis to be the axis of revolution, we can describe a volume of revolution by a function y=f(x) over an interval (a, b). The area under the curve given by the usual definite integral ∫abf(x) dx is the area of what we have called the radial cross-section. Thinking back to the Riemann sums that give rise to this integral, the area under the curve is estimated by successively better approximations of the area by rectangles. In finding the volume of a solid of revolution, we replace each of these rectangles with a cylinder whose height will be made successively smaller and whose radius will be given by the function at hand. Accordingly, as in the limit where the width of the rectangles approaches zero the usual Riemann sum approaches the actual area, in the limit where the height of the cylinders approaches zero the sum of volumes of cylinders approaches the actual volume.
This suggests that we should partition (a, b) with a finite sequence of points x(i), with x(0) = a and the last point, x(n) = b. Then if we sum up the volumes of cylinders with radius f(x(i)) and height x(i+1) - x(i), we find a sum of the form
V = Σi π (f(x(i)))2 (x(i+1) - x(i))
And passing to the limit where the difference between points in the partition approaches zero, we have an integral of the form
V = ∫ab π (f(x))2 dx