Why does a car goes backward in a hill?

Gravity pulls it down and the weight of a car is less dense than a hill and therefore it goes down