What is the difference between a housekeeper and a janitor

A janitor is responsible for the maintenance and cleaning of a public building. A housekeeper takes care of a home, either by working independently or for a cleaning company.