A building management system (BMS), is also called the building automation system (BAS). BMS is a computer-based control system installed in buildings and it controls as well as monitors mechanical and electrical equipment such as ventilation, lighting, power systems, fire systems, security systems, heating, and air conditioning. However, BMS is sometimes linked to access control or other security systems such as closed-circuit television (CCTV) and motion detectors.