In the world of concepts of guarantee, there are three players.
The creditor, the debtor, and the guarantor.
The guarantor exists to ensure the fulfillment of the debtor’s obligations to the creditor.
In our case, the landlord is also called a creditor or beneficiary, and the tenant is the debtor, and the guarantor is on behalf of the debtor.