How Does Spectral Analysis Work