Routing is the process of selecting paths in a network by which to send traffic. BGP (Border Gateway Protocol) is the standardized exterior gateway protocol used to exchange routing and reachability information between autonomous systems on the Internet. It works by routers within an autonomous system sharing routing tables with connected routers in other autonomous systems to determine the best paths between any two points on the network.