Buildings contribute to 40 percent of global energy consumption, and are expected to do so even more in the coming future. This consumption directly influences the use of fossil fuels that have significant environmental impacts. Although renewable energy sources have shown tremendous promise, it is anticipated that most of the global energy generation will still use fossil fuels. Therefore the need for energy efficiency in buildings is critical, and the main objective of a 'smart building' is to reduce and manage building energy consumption without compromising occupant comfort and operational efficiency. Within buildings, Heating, Ventilation and Air Conditioning (HVAC) systems contribute to significant energy consumption. The other share is consumed by lighting and plug loads. Smart buildings employ different types of sensors in HVAC and other mechanical systems which makes these systems more intelligent and adaptive. Data from sensors and associated controllers are now being used for building energy analytics and the technological advancements made in this field is very promising.