When olfactory neurons respond to odor molecules, they transmit chemical energy into electrical signals, which then trigger a secondary molecular messenger cascade that generates electrical impulses to the brain, signaling that it is smelling something.