Earnest money is used to show that a buyer is serious about making an offer on a real estate sale. If the sale were to fall through, the seller typically returns the earnest money to the buyer. In some cases, some of that deposit may be used to cover cancellation fees.