In algebraic geometry, a toric variety or torus embedding is a kind of algebraic variety that contains an algebraic torus whose group action extends to the whole variety. Toric varieties form an important and rich class of examples in algebraic geometry, which often provide a testing ground for theorems. The geometry of a toric variety is fully determined by the combinatorics of its associated fan, which often makes computations far more tractable. For a certain special but still quite general class of toric varieties, this information is also encoded in a convex polytope, which creates a powerful connection of the subject with convex geometry. Familiar examples of toric varieties are affine space, projective spaces, products of projective spaces and bundles over projective space.