Here's why:
* Organic compounds are defined as compounds containing carbon (C) atoms, usually bonded to hydrogen (H) atoms and often other elements like oxygen (O), nitrogen (N), sulfur (S), phosphorus (P), and halogens.
* Inorganic compounds are all other compounds that do not contain carbon, with a few exceptions like carbon dioxide (CO2), carbonates, and cyanides.
Since ammonia only contains nitrogen and hydrogen, it falls under the definition of an inorganic compound.