What means Bank guarantee or surety?

When renting a business premises, the landlord usually needs a bank guarantee or deposit. This amount is usually based on 3 months rent. At the end of the lease contract and after all obligations have been met, the down payment or bank guarantee will be refunded. A bank guarantee means that an amount is deposited into a protected account of the bank.