If a company rents your apartment, the presentation of a bank guarantee is usually preferred to a deposit. For some companies, this is even a condition for the successful conclusion of a rental agreement.
The bank guarantee must be properly issued and have no immediate expiry date at the end of the lease. It becomes difficult if the tenant extends the lease several times. In this case, you must ensure that the bank guarantee is unlimited in time.