Question: why we do z transform?
Answer: Z transform is used to convert discrete time domain signal into discrete frequency domain signal. It has wide range of applications in mathematics and digital signal processing. It is mainly used to analyze and process digital data.