Consider a scattering spectral line from a parcel of atoms in the wind
This line’s profile, or frequency-dependent opacity, is shown in green.  This is essentially the probability that a photon of a given frequency will be scattered, or absorbed, by the atom