HCLTech interview question

Explain about how BGP works.