AppsTech interview question

why BGP is used?