As said above the money is for damages or any bills left unpaid. If you have damaged the apartment the landlord may keep some or all of the deposit depending.