Here's why:
* Ammonia is a base: Ammonia has a lone pair of electrons on the nitrogen atom, which makes it capable of accepting a proton.
* Acids donate protons: Acids are substances that donate protons (H⁺) when dissolved in water.
When ammonia accepts a proton, it forms the ammonium ion (NH₄⁺):
NH₃ + H⁺ → NH₄⁺
This reaction is a classic example of a Brønsted-Lowry acid-base reaction, where a proton transfer occurs between an acid and a base.