In older (e.g. 1958) texts, the nm is sometimes denoted "mµ" for "millimicron", based on the old term "micron" for a micrometre. Double prefixes are not allowed in SI, and this is never seen in modern writing or speech.
A nanometer is used to measure things that are very small.
For example a water molecule is less than one nanometer.
The molecules that are released from the cookie when it bakes are less than a nanometer in size and so they are carried through the air to our noses because they are so small.