Citi Interview Question

What are swaps and their types