To sniff or smell something (actively using the nose to detect a scent).
犬が地面の匂いを熱心に嗅いでいる。
The dog is eagerly sniffing the scent on the ground.
腐った魚の匂いを嗅いで、冷蔵庫の中身を確かめた。
I smelled a rotten fish odor and checked the contents of the fridge.
彼は香水の瓶から軽く匂いを嗅いでから購入を決めた。
He lightly sniffed the perfume bottle before deciding to buy it.