How do dogs hunt for food?

They smell out another animal and then they fight and kill the other animal and them they eat it. usually domestic pets are given food but wild dogs sometimes scare off people with food so they drop it...then they eat it...also they go through garbage cans.