What is the difference between scattering and absorption/emission?

As far as I know, scattering occurs when light excites the atoms or molecules to their higher energy state(virtual state for scattering) followed by emitting photons corresponding to energy differences. I think this process is not quite different with usual absorption and following emission process. What can be the difference btw them?

When a photon interacts with an atom, three things can happen:

1. elastic scattering, the photon keeps its energy and changes angle (mirror reflection)

https://en.wikipedia.org/wiki/Elastic_scattering

1. inelastic scattering, the photon keeps part of its energy and changes angle (photon transferring vibrational and rotational energies to the molecules, heat up the material)

https://en.wikipedia.org/wiki/Inelastic_scattering

1. absorption, the photon gives all its energy to the absorbing atom/electron, and the photon ceases to exist