Step 1: Recall the types of air pollutants.
Primary pollutants are emitted directly into the atmosphere.
Secondary pollutants are formed by chemical reactions among primary pollutants.
Step 2: Identify the secondary pollutant.
Ground-level ozone is formed by photochemical reactions involving nitrogen oxides and volatile organic compounds.
Hence,
\[
\boxed{\mathrm{O_3}}
\]
is a secondary pollutant.
Therefore,
\[
\boxed{(D)}
\]
is the correct answer.