To construct a toric variety from a fan, assign to each cone in the fan a corresponding affine variety using the dual cone and semigroup algebra. The varieties for adjacent cones are then glued together along common subvarieties determined by their intersecting lower-dimensional cones, forming the toric variety.