Earnest Money Deposit vs. Down Payment

They both have to do with cold hard cash, but [...]