A preamble, obviously, is a precursor to the fundamental obligations that a piece of law contains. The piece of law will follow with specific obligations and enumerate them in a number of ways, but a preamble gives the overall ambition and lens to those seeking to understand what those obligations are.
It gives a sense of intent and it gives a clear notion of the ability to implement the obligations that then follow.