The first component involved when you detect the smell of cookies baking is the dendrites in your sensory neurons.
Here's the breakdown: When you smell cookies, the scent molecules interact with olfactory receptors in the nasal cavity. These receptors are part of sensory neurons, and the initial signal is received by the dendrites of these sensory neurons. Once the signal is received, it is then transmitted through the axons of the sensory neurons to the central nervous system, where a response is processed.