An earnest money deposit is a sum, that a buyer puts down, which indicates they are serious about the offer they are making on a property. While this does not have any impact on the mortgage conditions it does show the seller that you are serious about their property and is a viable potential buyer, rather than someone who would waste the sellers time.
These are especially effective in situations where there are multiple potential buyers.