Fetching details from the dictionary...
to sniff; to smell
犬いぬが何なんかの匂いにおいを嗅いかいで吠えほえ始めはじめた。
The dog started barking after sniffing something.
犬いぬが花はなの匂いにおいを嗅いかいでいます。
The dog is smelling the flowers.
花はなの香りかおりを嗅ぐかぐと気分きぶんが落ち着きおちつきます。
Smelling the fragrance of flowers calms me down.