For example, the molecule ammonia (NH3) is an electron pair donor because it can donate a pair of electrons from its nitrogen atom to another molecule or ion. However, ammonia is not an acid because it does not donate a hydrogen ion in chemical reactions.
In contrast, the molecule hydrochloric acid (HCl) is both an electron pair donor and an acid. Hydrochloric acid can donate a pair of electrons from its chlorine atom to another molecule or ion. It can also donate a hydrogen ion (H+) to another substance in chemical reactions, making it an acid.