What does a SWAP gate do?

What does a SWAP gate do?

A

Flips one qubit conditioned on the other

B

Exchanges the quantum states of two qubits

C

Copies one qubit's quantum state onto another

D

Entangles the two qubits it is applied to