This Demonstration shows a torus for which both the tube and the cross section of the tube are elliptical.

To get a better view of its structure, you can open the torus with gaps in either the meridional or longitudinal directions.

The Serret–Frenet formulas (using Mathematica's built-in function FrenetSerretSystem) are used to generate the parametric equation of the toroidal surface.