A building inspector evaluates the building project, usually several times, at various stages of construction, to ensure compliance with local building codes. In some communities, a certificate of occupancy is given only after the home passes a final building inspection. Home inspectors generally evaluate an existing home as a part of the sale or purchase of the home. Home inspectors look at readily accessible systems and components, but they do not certify that a home is in compliance with the building codes.
In legal actions, it is important you have a building inspection performed.