An official written agreement to rent something for a set time period is a lease.