How can you use whiff in a sentence?

I took a whiff of a Dolce and Gabana perfume yesterday.