A Building Management System (BMS) or a (more recent terminology) Building Automation System (BAS) is a computer-based control system installed in buildings that controls and monitors the building’s mechanical and electrical equipment such as ventilation, lighting, power systems, fire systems, and security systems. A BMS consists of software and hardware; the software program, usually configured in a hierarchical manner, can be proprietary, using such protocols as C-bus, Profibus, and so on. Vendors are also producing BMSs that integrate using Internet protocols and open standards such as DeviceNet, SOAP, XML, BACnet, LonWorks and Modbus.