The relationship between a landlord and a tenant can be complicated , so a written agreement is alwasy best.
A basic understanding of their responsibilities before entering into an agreement is also good, again why you want a written agreement.
The rental agreement:
Your security deposit:
Landlords have 31 days after the tenant moves out to give them a written account of what any funds were retained for, as well as a refund of the remainder.