For instance, rotating a rectangle about one side generates a right cylinder. Rotating a circle about its diameter produces a sphere.