What is the purpose of the Building Regulations 2000 legislation?

This legislation is intended to ensure that buildings are constructed to a consistent level of proficiency that protects the health and safety of all those who use them, or reside, or pass through the surrounding area.