Pergunta de entrevista da empresa Beanfield

what is diffrenece between BGP and OSPF?