IBM interview question

How does BGP work?