The easiest way to understand hire car deposits is to think about bowling.
When you head to the bowling alley, you often leave your shoes at the counter as security, when you take a pair of their bowling shoes.
Car rental works in a similar way, except instead of shoes, you leave your money at the counter as security, so you can take their car.