Although it is not known how much dogs understand about death, it's clear that dogs can become extremely depressed after a companion dies.
Just like humans who have lost a loved one, many dogs lose their appetite, no longer have interest in their favorite activities, become lethargic or sleep excessively.