TD interview question

Swaps. How does it work