Border Gateway Protocol (BGP) is a networking protocol that determines the best routes for data to travel across the internet between different networks.