The Z transform is related to Laplace transform and is applied to analyze digital circuits. The Fourier transform, on the other hand, is a type z-transform, i.e z-transform which is used in spectrum analysis and calculation of the energy density of the signal. The difference lies on the field of application.