There's actually some chemistry involved too. Bacteria, plants and even lightning can all play a role in the pleasant smell we experience after a thunderstorm; that of clean air and wet earth.
Activation patterns in the amygdala in response to pleasant smells. (A to D) Brain scans showing activation patterns. Histograms showing Shapley values of experimental participants. (E ...