Why do Dogs Bury Things?

Most of the time what dogs bury are edible type things like bones, and they are burying them to have something to eat in times of little food to eat.