Stokes lines correspond to photons with lower energy compared to the incident photon, while Anti-Stokes lines correspond to photons with higher energy compared to the incident photon.