Attention Seeking: Dogs often bark when they want something, such as going outside, playing, or getting a treat.
Separation Anxiety/Compulsive Barking: Dogs with separation anxiety often bark excessively when left alone.
Compulsive barkers seem to bark just to hear the sound of their voices.