Artificial intelligence (AI) is used in smart buildings in a variety of ways to improve efficiency, sustainability, and occupant comfort. It can be used to optimize energy systems, as well as to monitor all the ins and outs of the building effectively.