Landlords are responsible for maintaining the property in a habitable condition, which includes addressing safety hazards, making necessary repairs, and ensuring the property meets local health and safety standards.