The spectrum analyzer is used to do distortion analysis to the signal. Due to the fact that we don't have a pure generated signal. In reality, there must be some distortion. The distortion analysis is important in the communication field as well as in electronics.