Beanfield Interview Question

what is diffrenece between BGP and OSPF?