Why are dogs so good at smelling?

Dogs have approximately 300 million olfactory sensors as opposed to 6 million in humans. Their sense of smell is about 40 times better than humans. They are also neophilic which means they are attracted to new and interesting smells. They also have the ability to discern which nostril a smell emanated from.