Why do dogs sniff everywhere before peeing?

I'm just curious as to why my dog has to sniff a billion and three places before he can actually pee.
10 answers 10