Why it is put the before united kingdom?
"The" is put before "United Kingdom" because "United Kingdom" is a proper noun. Proper nouns are words that name specific people, places, or things, and they are always capitalized. In this case, "The United Kingdom" is the proper name of a country, so it is preceded by the definite article "the."