Sentence:  Their heads were in the air <WSD>sniffing</WSD> . 
Meaning of the word marked with <WSD> tags:  perceive by inhaling through the nose