I realise that in a spectrometer the spectral line being viewed will be the result of the actual spectral line plus an instrument line function as well (as seen in the linked image). What I don't understand is how this is produced? Someone tried explaining this to me once before but their explanation seemed to me like an explanation for linear dispersion? How is the Instrument line function produced? what causes it?