A triangle, when rotated about one of its sides will generate a solid in a form of a Cone.
The cone could be a hollow one or a solid-filled one, depending on the properties of the triangle being rotated.
Therefore, the shape generated is a cone.
Answer: D.