olfactory receptor
An olfactory receptor is a tiny protein "lock" sitting on the surface of smell-sensing nerve cells high up inside your nose. When you sniff a slice of pizza, a rose, or spilled gasoline, you are breathing in floating molecules that broke loose from those things. Each of these airborne molecules is shaped a certain way, and an olfactory receptor only reacts when a molecule with the matching shape drifts in and fits into it — like a key sliding into the right lock. That fit is the very first step of smelling anything: the moment a molecule lands and clicks, the cell wakes up and starts shouting "I found something" to your brain.
Here is the clever part: humans have about four hundred different kinds of these receptors, but far more than four hundred smells in the world. So a single odor molecule usually fits — loosely or snugly — into several different receptors at once, and most everyday smells are mixtures of many molecules. Your brain reads the whole pattern of which receptors fired and how strongly, the way you'd recognize a song not from one note but from the full chord. That is why coffee, cut grass, and your grandmother's kitchen each produce their own unmistakable combination, and why losing or scrambling these receptors (as can happen with a cold or certain illnesses) makes the world go strangely flat and flavorless.
When a molecule fits into the receptor, the receptor changes shape and triggers a chain of chemical steps inside the cell that turns the chemical event into an electrical signal — a small nerve pulse. That pulse travels up a short fiber into the smell-processing patch at the front-bottom of the brain, where signals from many cells are sorted and combined into the experience you finally notice as "this smells like cinnamon." In other words, olfactory receptors are the translators that convert the chemistry of the air into the language the brain understands.
Olfactory receptors belong to the same large family of "shape-detecting" surface proteins (G-protein-coupled receptors) that the body uses to sense many hormones and drugs — making them one of the most studied receptor families in all of biology.