Before a new tenant moves into an apartment or house the landlord should make sure the place is habitable.
The landlord should make sure that the place is free of bugs, update paint if needed, make sure things are cleaned and sanitary and replace anything that needs replaced before the new tenant moves into the rental place.