Landlords are responsible to make sure that properties leased for residential purposes are fit for habitability. This means that the premises must be safe to live in and not have any damages that would impact a person's health. Some examples of damage that might impact health include:
Many conditions that cause harm to health and fitness are addressed in local housing laws, often called municipal residential or housing codes. You can search this municipal code library for your local municipal housing code.