To finance a trade-in, there can be 2 scenarios:
1) If the vehicle you are trading in is worth more than what you owe on it, the surplus difference will be subtracted from your new purchase.
2) If the vehicle you're trading in is worth less than what you owe on it, the amount left on your current loan will go towards your new purchase. This is called Negative Equity.