The spectral density of a stationary random process is the inverse Fourier transform of the autocorrelation function of that random process. This spectral density is a probability density function for some random variable. But which random variable? What does this random represent? What probability space is it defined on? And how does it relate to the random process in question?