This is an exchange transaction, because each party sacrifices value and receives value in return.
It is considered an exchange transaction.