A code is a set of regulations governing the proper use of materials and methods to ensure safety and quality in our built environment.