The Z-transform is used in discrete time systems to create a discrete time transfer function of the system with a set of poles and zeros. It is a formal transformation for discrete time signals (signals described in terms of their samples) to a new complex variable called z.