The main purpose of housekeeping is to ensure cleanliness, orderliness, and hygiene in a facility, while the front office handles guest interactions, reservations, and other administrative tasks to provide excellent customer service.