HVAC automation and control works by using Building Automation Systems (BAS) to monitor and control HVAC equipment and ensure optimal performance. These systems can be used to control temperature, humidity, and airflow, as well as to monitor energy consumption and equipment performance. By using sensors and controls, HVAC systems can be automated to respond to changes in occupancy and temperature, further reducing energy consumption.