Pergunta de entrevista da empresa Tyro Payments

What's the difference between OSPF,BGP?