The idea is you work in exchange for access to the festival and free meals, the deposit is to ensure that if you fuck off or are incapable of doing your shifts (tripping your nut out in a vango tent for example) the fesitval is covered. Loads of festivals do this, but not all, (tiny wee festivals may not) and its a good measure of the levels of trust between organisers and volunteers.