The pre contract deposit is legally binding. Before agreeing to pay this deposit, you must ensure you have a written agreement, which will clearly state the conditions under which the deposit is non refundable and whether or not you can get it back.
The purpose is to pay a deposit to take property off the market, so if you pull out of the purchase without a good reason, the seller could keep the money.