A security deposit can be used to make up for unpaid rent when a tenant moves, for repair of damages to the unit, and for cleaning the unit if the unit is not left as clean as when the tenant moved in. It may not be used for repair due to ordinary wear and tear.