The primary purpose of an audit of energy is to assess how and where energy is consumed within a building or facility. By identifying inefficiencies and proposing improvements, these audits play a crucial role in enhancing energy savings, reducing costs, and promoting sustainability.