Why might your dog have bad breath?

Does your dogs breath just make you want to gag? Bad breath in dogs can be for all kinds of reasons.