With regard to Building Regulations, what is the role and responsibilities of a building inspector?

Building inspectors are required to approve the structural quality and safety standard of buildings.