Capgemini Interview Question

What is the difference between transit gateway and vpc peering from AWS