A building management system (BMS), also known as a building automation system (BAS), is a computer-based control system that monitors and controls a building's mechanical and electrical equipment such as ventilation, lighting, power systems, fire systems, and security systems. A BMS consists of both software and hardware that can integrate various building systems and protocols. It provides benefits such as increased energy efficiency, cost savings, improved reliability and flexibility to adapt to building usage changes over time.