The specific purpose of the Declaration of Independence is to declare freedom from British rule and that they were their own country.
The purpose of the Preamble to the Constitution to limit the power of the central government.
The main purpose of the Bill of Rights is to protect freedom of religion, speech, press, assembly, and to request and call out when the government is wrong or right.