Energy codes are a subset of a broader collection of building codes, which govern the design and construction of residential and commercial structures, with its goal to improve the energy efficiency to reduce the amount of energy required and effects of pollution.