The European Border and Coast Guard Agency, commonly known as Frontex, is an agency of the European Union responsible for managing the security of the EU's external borders. It was established to enhance cooperation between member states in border management and to facilitate the effective control of migration flows, contributing to the broader context of Europe and the European Union.