Building automation systems (BAS) are centralized systems that control a building's heating, ventilation, air conditioning (HVAC), lighting, security, and other operations to improve efficiency and comfort. These systems use various sensors, controllers, and software to monitor and manage energy consumption, ultimately contributing to sustainable practices in modern architecture and urban planning.