Drawing a shape with particular base and different cross sections.

As you know, Mathematica is a software able to draw revolution solids for any function f(x).

But, it´s possible to draw a solid with particular base delimited by two functions f(x) and g(x) and different cross sections as triangles, squares, ellipses, rectangles, Etc ?

If it´s possible what kind of command should i use for to draw it ?