That smell—known as petrichor—stems from microscopic streptomycete bacteria in the soil that produce a compound called geosmin, The Times reports.