Border controls are measures taken by country to monitor or regulate its borders. Border controls are put in place to control both the inflow as well as outflow of people, animals and goods. Specialised government agencies are usually created to perform border controls. Such agencies may perform various functions such as customs, immigration, security, quarantine, beside other functions. Official designations, jurisdictions and command structures of these agencies vary considerably.