The contract is real when each party performs the entire action, both relinquishing and acquiring property and remammg an owner of property while relinquishing it; and it is formal when only one party acquires property or relinquishes it.