Business & farm

It went to the bank account because the bank wanted to make one check for the total purchase price and they already had the check made out for the total loan proceeds to the dealer.  This all occurred the same day.  What about Form 8824 or is that what 1031 exchange is?