Ammonia

Ammonia is an inorganic chemical compound of nitrogen and hydrogen with the formula NH3. A stable binary hydride and the simplest pnictogen hydride, ammonia is a colourless gas with a distinctive pungent smell. Biologically, it is a common nitrogenous waste, and it contributes significantly to the nutritional needs of terrestrial organisms by serving as a precursor to fertilisers. Around 70% of ammonia produced industrially is used to make fertilisers in various forms and composition, such as urea and diammonium phosphate. Ammonia in pure form is also applied directly into the soil.

Ammonia, either directly or indirectly, is also a building block for the synthesis of many chemicals.

Ammonia occurs in nature and has been detected in the interstellar medium. In many countries it is classified as an extremely hazardous substance.

Ammonia is produced biologically in a process called nitrogen fixation, but even more is generated industrially by the Haber process. The process helped revolutionize agriculture by providing cheap fertilizers. The global industrial production of ammonia in 2021 was 235 million tonnes. Industrial ammonia is transported in tank cars or cylinders.

NH3 boils at −33.34 °C at a pressure of one atmosphere, but the liquid can often be handled in the laboratory without external cooling. Household ammonia or ammonium hydroxide is a solution of NH3 in water.

Etymology
Pliny, in Book XXXI of his Natural History, refers to a salt named hammoniacum, so called because of the proximity of its source to the Temple of Jupiter Amun (Greek Ἄμμων Ammon) in the Roman province of Cyrenaica. However, the description Pliny gives of the salt does not conform to the properties of ammonium chloride. According to Herbert Hoover's commentary in his English translation of Georgius Agricola's De re metallica, it is likely to have been common sea salt. In any case, that salt ultimately gave ammonia and ammonium compounds their name.

Natural occurrence (abiological)
Traces of ammonia/ammonium are found in rainwater. Ammonium chloride (sal ammoniac), and ammonium sulfate are found in volcanic districts. Crystals of ammonium bicarbonate have been found in Patagonia guano.

Ammonia is found throughout the Solar System on Mars, Jupiter, Saturn, Uranus, Neptune, and Pluto, among other places: on smaller, icy bodies such as Pluto, ammonia can act as a geologically important antifreeze, as a mixture of water and ammonia can have a melting point as low as −100 C if the ammonia concentration is high enough and thus allow such bodies to retain internal oceans and active geology at a far lower temperature than would be possible with water alone. Substances containing ammonia, or those that are similar to it, are called ammoniacal.

Properties
Ammonia is a colourless gas with a characteristically pungent smell. It is lighter than air, its density being 0.589 times that of air. It is easily liquefied due to the strong hydrogen bonding between molecules. Gaseous ammonia turns to a colourless liquid, which boils at -33.1 °C, and freezes to colourless crystals at -77.7 °C. Little data is available at very high temperatures and pressures, but the liquid-vapor critical point occurs at 405 K and 11.35 MPa.

Solid
The crystal symmetry is cubic, Pearson symbol cP16, space group P213 No.198, lattice constant 0.5125 nm.

Liquid
Liquid ammonia possesses strong ionising powers reflecting its high ε of 22 at -35 C. Liquid ammonia has a very high standard enthalpy change of vapourization (23.5 kJ/mol; for comparison, water's is 40.65 kJ/mol, methane 8.19 kJ/mol and phosphine 14.6 kJ/mol) and can be transported in pressurized or refrigerated vessels; however, at standard temperature and pressure liquid anhydrous ammonia will vaporize.

Solvent properties
Ammonia readily dissolves in water. In an aqueous solution, it can be expelled by boiling. The aqueous solution of ammonia is basic, and may be described as aqueous ammonia or ammonium hydroxide. The maximum concentration of ammonia in water (a saturated solution) has a specific gravity of 0.880 and is often known as '.880 ammonia'.

Liquid ammonia is a widely studied nonaqueous ionising solvent. Its most conspicuous property is its ability to dissolve alkali metals to form highly coloured, electrically conductive solutions containing solvated electrons. Apart from these remarkable solutions, much of the chemistry in liquid ammonia can be classified by analogy with related reactions in aqueous solutions. Comparison of the physical properties of NH3 with those of water shows NH3 has the lower melting point, boiling point, density, viscosity, dielectric constant and electrical conductivity. These differences are attributed at least in part to the weaker hydrogen bonding in NH3. The ionic self-dissociation constant of liquid NH3 at −50 °C is about 10−33.

Liquid ammonia is an ionising solvent, although less so than water, and dissolves a range of ionic compounds, including many nitrates, nitrites, cyanides, thiocyanates, metal cyclopentadienyl complexes and metal bis(trimethylsilyl)amides. Most ammonium salts are soluble and act as acids in liquid ammonia solutions. The solubility of halide salts increases from fluoride to iodide. A saturated solution of ammonium nitrate (Divers' solution, named after Edward Divers) contains 0.83 mol solute per mole of ammonia and has a vapour pressure of less than 1 bar even at 25 C. However, few oxyanion salts with other cations dissolve.

Liquid ammonia will dissolve all of the alkali metals and other electropositive metals such as Ca, Sr, Ba, Eu and Yb (also Mg using an electrolytic process ). At low concentrations (<0.06 mol/L), deep blue solutions are formed: these contain metal cations and solvated electrons, free electrons that are surrounded by a cage of ammonia molecules.

These solutions are strong reducing agents. At higher concentrations, the solutions are metallic in appearance and in electrical conductivity. At low temperatures, the two types of solution can coexist as immiscible phases.

Redox properties of liquid ammonia


The range of thermodynamic stability of liquid ammonia solutions is very narrow, as the potential for oxidation to dinitrogen, E° (N2 + 6 [NH4]+ + 6 e− ⇌ 8 NH3), is only +0.04 V. In practice, both oxidation to dinitrogen and reduction to dihydrogen are slow. This is particularly true of reducing solutions: the solutions of the alkali metals mentioned above are stable for several days, slowly decomposing to the metal amide and dihydrogen. Most studies involving liquid ammonia solutions are done in reducing conditions; although oxidation of liquid ammonia is usually slow, there is still a risk of explosion, particularly if transition metal ions are present as possible catalysts.

Structure


The ammonia molecule has a trigonal pyramidal shape, as predicted by the valence shell electron pair repulsion theory (VSEPR theory) with an experimentally determined bond angle of 106.7°. The central nitrogen atom has five outer electrons with an additional electron from each hydrogen atom. This gives a total of eight electrons, or four electron pairs that are arranged tetrahedrally. Three of these electron pairs are used as bond pairs, which leaves one lone pair of electrons. The lone pair repels more strongly than bond pairs; therefore, the bond angle is not 109.5°, as expected for a regular tetrahedral arrangement, but 106.8°. This shape gives the molecule a dipole moment and makes it polar. The molecule's polarity, and especially its ability to form hydrogen bonds, makes ammonia highly miscible with water. The lone pair makes ammonia a base, a proton acceptor. Ammonia is moderately basic; a 1.0 M aqueous solution has a pH of 11.6, and if a strong acid is added to such a solution until the solution is neutral (pH = 7), 99.4% of the ammonia molecules are protonated. Temperature and salinity also affect the proportion of ammonium [NH4]+. The latter has the shape of a regular tetrahedron and is isoelectronic with methane.

The ammonia molecule readily undergoes nitrogen inversion at room temperature; a useful analogy is an umbrella turning itself inside out in a strong wind. The energy barrier to this inversion is 24.7 kJ/mol, and the resonance frequency is 23.79 GHz, corresponding to microwave radiation of a wavelength of 1.260 cm. The absorption at this frequency was the first microwave spectrum to be observed and was used in the first maser.

Amphotericity
One of the most characteristic properties of ammonia is its basicity. Ammonia is considered to be a weak base. It combines with acids to form ammonium salts; thus, with hydrochloric acid it forms ammonium chloride (sal ammoniac); with nitric acid, ammonium nitrate, etc. Perfectly dry ammonia gas will not combine with perfectly dry hydrogen chloride gas; moisture is necessary to bring about the reaction.

As a demonstration experiment under air with ambient moisture, opened bottles of concentrated ammonia and hydrochloric acid solutions produce a cloud of ammonium chloride, which seems to appear 'out of nothing' as the salt aerosol forms where the two diffusing clouds of reagents meet between the two bottles.
 * NH3 + HCl → [NH4]Cl

The salts produced by the action of ammonia on acids are known as the ammonium salts and all contain the ammonium ion ([NH4]+).

Although ammonia is well known as a weak base, it can also act as an extremely weak acid. It is a protic substance and is capable of formation of amides (which contain the NH2− ion). For example, lithium dissolves in liquid ammonia to give a blue solution (solvated electron) of lithium amide:
 * 2 Li + 2 NH3 → 2 LiNH2 + H2

Self-dissociation
Like water, liquid ammonia undergoes molecular autoionisation to form its acid and base conjugates:
 * 2 NH3 ⇌ NH4+ + NH2-

Ammonia often functions as a weak base, so it has some buffering ability. Shifts in pH will cause more or fewer ammonium cations (NH4+) and amide anions (NH2-) to be present in solution. At standard pressure and temperature,
 * K = [NH4+] × [NH2-] = 10−30.

Combustion
Ammonia does not burn readily or sustain combustion, except under narrow fuel-to-air mixtures of 15–28% ammonia by volume in air. When mixed with oxygen, it burns with a pale yellowish-green flame. Ignition occurs when chlorine is passed into ammonia, forming nitrogen and hydrogen chloride; if chlorine is present in excess, then the highly explosive nitrogen trichloride (NCl3) is also formed.

The combustion of ammonia to form nitrogen and water is exothermic:
 * 4 NH3 + 3 O2 → 2 N2 + 6 H2O(g), ΔH°r = −1267.20 kJ (or −316.8 kJ/mol if expressed per mol of NH3)

The standard enthalpy change of combustion, ΔH°c, expressed per mole of ammonia and with condensation of the water formed, is −382.81 kJ/mol. Dinitrogen is the thermodynamic product of combustion: all nitrogen oxides are unstable with respect to N2 and O2, which is the principle behind the catalytic converter. Nitrogen oxides can be formed as kinetic products in the presence of appropriate catalysts, a reaction of great industrial importance in the production of nitric acid:
 * 4 NH3 + 5 O2 → 4 NO + 6 H2O

A subsequent reaction leads to NO2:
 * 2 NO + O2 → 2 NO2

The combustion of ammonia in air is very difficult in the absence of a catalyst (such as platinum gauze or warm chromium(III) oxide), due to the relatively low heat of combustion, a lower laminar burning velocity, high auto-ignition temperature, high heat of vapourization, and a narrow flammability range. However, recent studies have shown that efficient and stable combustion of ammonia can be achieved using swirl combustors, thereby rekindling research interest in ammonia as a fuel for thermal power production. The flammable range of ammonia in dry air is 15.15–27.35% and in 100% relative humidity air is 15.95–26.55%. For studying the kinetics of ammonia combustion, knowledge of a detailed reliable reaction mechanism is required, but this has been challenging to obtain.

Precursor to organonitrogen compounds
Ammonia is a direct or indirect precursor to most manufactured nitrogen-containing compounds. It is the precursor to nitric acid, which is the source for most N-substituted aromatic compounds.

Amines can be formed by the reaction of ammonia with alkyl halides or, more commonly, with alcohols:
 * CH3OH + NH3  ->  CH3NH2  +  H2O

Its ring-opening reaction with ethylene oxide give ethanolamine, diethanolamine, and triethanolamine.

Amides can be prepared by the reaction of ammonia with carboxylic acid and their derivatives. For example, ammonia reacts with formic acid (HCOOH) to yield formamide (HCONH2) when heated. Acyl chlorides are the most reactive, but the ammonia must be present in at least a twofold excess to neutralise the hydrogen chloride formed. Esters and anhydrides also react with ammonia to form amides. Ammonium salts of carboxylic acids can be dehydrated to amides by heating to 150–200 °C as long as no thermally sensitive groups are present.

Other organonitrogen compounds include alprazolam, ethanolamine, ethyl carbamate and hexamethylenetetramine.
 * Amino acids, using Strecker amino-acid synthesis
 * Acrylonitrile, in the Sohio process

Precursor to inorganic nitrogenous compounds
Nitric acid is generated via the Ostwald process by oxidation of ammonia with air over a platinum catalyst at 700 –, ≈9 atm. Nitric oxide and nitrogen dioxide are intermediate in this conversion:
 * NH3 + 2 O2 → HNO3 + H2O

Nitric acid is used for the production of fertilisers, explosives, and many organonitrogen compounds.

The hydrogen in ammonia is susceptible to replacement by a myriad substituents. Ammonia gas reacts with metallic sodium to give sodamide, NaNH2.

With chlorine, monochloramine is formed.

Pentavalent ammonia is known as λ5-amine, nitrogen pentahydride decomposes spontaneously into trivalent ammonia (λ3-amine) and hydrogen gas at normal conditions. This substance was once investigated as a possible solid rocket fuel in 1966.

Ammonia is also used to make the following compounds:
 * Hydrazine, in the Olin Raschig process and the peroxide process
 * Hydrogen cyanide, in the BMA process and the Andrussow process
 * Hydroxylamine and ammonium carbonate, in the Raschig process
 * Urea, in the Bosch–Meiser urea process and in Wöhler synthesis
 * ammonium perchlorate, ammonium nitrate, and ammonium bicarbonate

Cisplatin-stereo.svg ([Pt(NH3)2Cl2) is a widely used anticancer drug.|120px]] Ammonia is a ligand forming metal ammine complexes. For historical reasons, ammonia is named ammine in the nomenclature of coordination compounds. One notable ammine complex is cisplatin (Pt(NH3)2Cl2, a widely used anticancer drug. Ammine complexes of chromium(III) formed the basis of Alfred Werner's revolutionary theory on the structure of coordination compounds. Werner noted only two isomers (fac- and mer-) of the complex [CrCl3(NH3)3] could be formed, and concluded the ligands must be arranged around the metal ion at the vertices of an octahedron.

Ammonia forms 1:1 adducts with a variety of Lewis acids such as I2, phenol, and Al(CH3)3. Ammonia is a hard base (HSAB theory) and its E & C parameters are EB = 2.31 and CB = 2.04. Its relative donor strength toward a series of acids, versus other Lewis bases, can be illustrated by C-B plots.

Ammonia in solution
Ammonia and ammonium salts can be readily detected, in very minute traces, by the addition of Nessler's solution, which gives a distinct yellow colouration in the presence of the slightest trace of ammonia or ammonium salts. The amount of ammonia in ammonium salts can be estimated quantitatively by distillation of the salts with sodium (NaOH) or potassium hydroxide (KOH), the ammonia evolved being absorbed in a known volume of standard sulfuric acid and the excess of acid then determined volumetrically; or the ammonia may be absorbed in hydrochloric acid and the ammonium chloride so formed precipitated as ammonium hexachloroplatinate, [NH4]2[PtCl6].

Gaseous ammonia
Sulfur sticks are burnt to detect small leaks in industrial ammonia refrigeration systems. Larger quantities can be detected by warming the salts with a caustic alkali or with quicklime, when the characteristic smell of ammonia will be at once apparent. Ammonia is an irritant and irritation increases with concentration; the permissible exposure limit is 25 ppm, and lethal above 500 ppm by volume. Higher concentrations are hardly detected by conventional detectors, the type of detector is chosen according to the sensitivity required (e.g. semiconductor, catalytic, electrochemical). Holographic sensors have been proposed for detecting concentrations up to 12.5% in volume.

In a laboratorial setting, gaseous ammonia can be detected by using concentrated hydrochloric acid or gaseous hydrogen chloride. A dense white fume (which is ammonium chloride vapor) arises from the reaction between ammonia and HCl(g).

Ammoniacal nitrogen (NH3–N)
Ammoniacal nitrogen (NH3–N) is a measure commonly used for testing the quantity of ammonium ions, derived naturally from ammonia, and returned to ammonia via organic processes, in water or waste liquids. It is a measure used mainly for quantifying values in waste treatment and water purification systems, as well as a measure of the health of natural and man-made water reserves. It is measured in units of mg/L (milligram per litre).

History
The ancient Greek historian Herodotus mentioned that there were outcrops of salt in an area of Libya that was inhabited by a people called the 'Ammonians' (now the Siwa oasis in northwestern Egypt, where salt lakes still exist). The Greek geographer Strabo also mentioned the salt from this region. However, the ancient authors Dioscorides, Apicius, Arrian, Synesius, and Aëtius of Amida described this salt as forming clear crystals that could be used for cooking and that were essentially rock salt. Hammoniacus sal appears in the writings of Pliny, although it is not known whether the term is equivalent to the more modern sal ammoniac (ammonium chloride).

The fermentation of urine by bacteria produces a solution of ammonia; hence fermented urine was used in Classical Antiquity to wash cloth and clothing, to remove hair from hides in preparation for tanning, to serve as a mordant in dying cloth, and to remove rust from iron. See:
 * Forbes, R.J., Studies in Ancient Technology, vol. 5, 2nd ed. (Leiden, Netherlands: E.J. Brill, 1966), pp. 19, 48, and 65.
 * Moeller, Walter O., The Wool Trade of Ancient Pompeii (Leiden, Netherlands: E.J. Brill, 1976), p. 20.
 * Faber, G.A. (pseudonym of: Goldschmidt, Günther) (May 1938) "Dyeing and tanning in classical antiquity," Ciba Review, 9 : 277–312. Available at: Elizabethan Costume
 * Smith, William, A Dictionary of Greek and Roman Antiquities (London, England: John Murray, 1875), article: "Fullo" (i.e., fullers or launderers), pp. 551–553.
 * Rousset, Henri (31 March 1917) "The laundries of the Ancients," Scientific American Supplement, 83 (2152) : 197.
 * Bond, Sarah E., Trade and Taboo: Disreputable Professions in the Roman Mediterranean (Ann Arbor, Michigan: University of Michigan Press, 2016), p. 112.
 * Binz, Arthur (1936) "Altes und Neues über die technische Verwendung des Harnes" (Ancient and modern [information] about the technological use of urine), Zeitschrift für Angewandte Chemie, 49 (23) : 355–360. [in German]
 * Witty, Michael (December 2016) "Ancient Roman urine chemistry," Acta Archaeologica, 87 (1) : 179–191. Witty speculates that the Romans obtained ammonia in concentrated form by adding wood ash (impure potassium carbonate) to urine that had been fermented for several hours. Struvite (magnesium ammonium phosphate) is thereby precipitated, and the yield of struvite can be increased by then treating the solution with bittern, a magnesium-rich solution that is a byproduct of making salt from sea water. Roasting struvite releases ammonia vapours. It was also used by ancient dentists to wash teeth.

In the form of sal ammoniac (نشادر, nushadir), ammonia was important to the Muslim alchemists. It was mentioned in the Book of Stones, likely written in the 9th century and attributed to Jābir ibn Hayyān. It was also important to the European alchemists of the 13th century, being mentioned by Albertus Magnus. It was also used by dyers in the Middle Ages in the form of fermented urine to alter the colour of vegetable dyes. In the 15th century, Basilius Valentinus showed that ammonia could be obtained by the action of alkalis on sal ammoniac. Spiritus salis urinæ (spirit of the salt of urine, i.e., ammonium carbonate) had apparently been produced before Valentinus, although he presented a new, simpler method for preparing it in his book: Valentinus, Basilius, Vier Tractätlein Fr. Basilii Valentini ... [Four essays of Brother Basil Valentine ... ] (Frankfurt am Main, (Germany): Luca Jennis, 1625), "Supplementum oder Zugabe" (Supplement or appendix), pp. 80–81: "Der Weg zum Universal, damit die drei Stein zusammen kommen." (The path to the Universal, so that the three stones come together.). From p. 81: "Der Spiritus salis Urinæ nimbt langes wesen zubereiten / dieser proceß aber ist waß leichter unnd näher auß dem Salz von Armenia, ... Nun nimb sauberen schönen Armenischen Salz armoniac ohn alles sublimiren / thue ihn in ein Kolben / giesse ein Oleum Tartari drauff / daß es wie ein Muß oder Brey werde / vermachs baldt / dafür thu auch ein grosen vorlag / so lege sich als baldt der Spiritus Salis Urinæ im Helm an Crystallisch ... " (Spirit of the salt of urine [i.e., ammonium carbonate] requires a long method [i.e., procedure] to prepare; this [i.e., Valentine's] process [starting] from the salt from Armenia [i.e., ammonium chloride], however, is somewhat easier and shorter ... Now take clean nice Armenian salt, without sublimating all [of it]; put it in a [distillation] flask; pour oil of tartar [i.e., potassium carbonate that has dissolved only in the water that it has absorbed from the air] on it, [so] that it [i.e., the mixture] becomes like a mush or paste; assemble it [i.e., the distilling apparatus (alembic)] quickly; for that [purpose] connect a large receiving flask; then soon spirit of the salt of urine deposits as crystals in the "helmet" [i.e., the outlet for the vapours, which is atop the distillation flask] ...)

See also: Kopp, Hermann, Geschichte der Chemie [History of Chemistry] (Braunschweig, (Germany): Friedrich Vieweg und Sohn, 1845), Part 3, p. 243. [in German] At a later period, when sal ammoniac was obtained by distilling the hooves and horns of oxen and neutralizing the resulting carbonate with hydrochloric acid, the name 'spirit of hartshorn' was applied to ammonia.

Gaseous ammonia was first isolated by Joseph Black in 1756 by reacting sal ammoniac (ammonium chloride) with calcined magnesia (magnesium oxide). It was isolated again by Peter Woulfe in 1767, by Carl Wilhelm Scheele in 1770 and by Joseph Priestley in 1773 and was termed by him 'alkaline air'. Eleven years later in 1785, Claude Louis Berthollet ascertained its composition.

The production of ammonia from nitrogen in the air (and hydrogen) was invented by Fritz Haber and Robert LeRossignol. The patent was sent in 1909 (USPTO Nr 1,202,995) and awarded in 1916. Later, Carl Bosch developed the industrial method for ammonia production (Haber–Bosch process). It was first used on an industrial scale in Germany during World War I, following the allied blockade that cut off the supply of nitrates from Chile. The ammonia was used to produce explosives to sustain war efforts. The Nobel Prize in Chemistry 1918 was awarded to Fritz Haber "for the synthesis of ammonia from its elements".

Before the availability of natural gas, hydrogen as a precursor to ammonia production was produced via the electrolysis of water or using the chloralkali process.

With the advent of the steel industry in the 20th century, ammonia became a byproduct of the production of coking coal.

Fertiliser
In the US, approximately 88% of ammonia was used as fertilisers either as its salts, solutions or anhydrously. When applied to soil, it helps provide increased yields of crops such as maize and wheat. 30% of agricultural nitrogen applied in the US is in the form of anhydrous ammonia, and worldwide, 110 million tonnes are applied each year. Solutions of ammonia ranging from 16% to 25% are used in the fermentation industry as a source of nitrogen for microorganisms and to adjust pH during fermentation.

Refrigeration–R717
Because of ammonia's vapourization properties, it is a useful refrigerant. It was commonly used before the popularisation of chlorofluorocarbons (Freons). Anhydrous ammonia is widely used in industrial refrigeration applications and hockey rinks because of its high energy efficiency and low cost. It suffers from the disadvantage of toxicity, and requiring corrosion resistant components, which restricts its domestic and small-scale use. Along with its use in modern vapour-compression refrigeration it is used in a mixture along with hydrogen and water in absorption refrigerators. The Kalina cycle, which is of growing importance to geothermal power plants, depends on the wide boiling range of the ammonia–water mixture.

Ammonia coolant is also used in the radiators aboard the International Space Station in loops that are used to regulate the internal temperature and enable temperature-dependent experiments. The ammonia is under sufficient pressure to remain liquid throughout the process. Single-phase ammonia cooling systems also serve the power electronics in each pair of solar arrays.

The potential importance of ammonia as a refrigerant has increased with the discovery that vented CFCs and HFCs are potent and stable greenhouse gases.

Antimicrobial agent for food products
As early as in 1895, it was known that ammonia was 'strongly antiseptic ... it requires 1.4 grams per litre to preserve beef tea (broth).' In one study, anhydrous ammonia destroyed 99.999% of zoonotic bacteria in three types of animal feed, but not silage. Anhydrous ammonia is currently used commercially to reduce or eliminate microbial contamination of beef. Lean finely textured beef (popularly known as 'pink slime') in the beef industry is made from fatty beef trimmings (c. 50–70% fat) by removing the fat using heat and centrifugation, then treating it with ammonia to kill E. coli. The process was deemed effective and safe by the US Department of Agriculture based on a study that found that the treatment reduces E. coli to undetectable levels. There have been safety concerns about the process as well as consumer complaints about the taste and smell of ammonia-treated beef.

Fuel
Ammonia has been used as fuel, and is a proposed alternative to fossil fuels and hydrogen. Being liquid at ambient temperature under its own vapour pressure and having high volumetric and gravimetric energy density, ammonia is considered a suitable carrier for hydrogen, and may be cheaper than direct transport of liquid hydrogen.

Compared to hydrogen, ammonia is easier to store. Compared to hydrogen as a fuel, ammonia is much more energy efficient, and could be produced, stored and delivered at a much lower cost than hydrogen, which must be kept compressed or as a cryogenic liquid. The raw energy density of liquid ammonia is 11.5 MJ/L, which is about a third that of diesel.

Ammonia can be converted back to hydrogen to be used to power hydrogen fuel cells, or it may be used directly within high-temperature solid oxide direct ammonia fuel cells to provide efficient power sources that do not emit greenhouse gases. Ammonia to hydrogen conversion can be achieved through the sodium amide process or the catalytic decomposition of ammonia using solid catalysts. Ammonia engines or ammonia motors, using ammonia as a working fluid, have been proposed and occasionally used. The principle is similar to that used in a fireless locomotive, but with ammonia as the working fluid, instead of steam or compressed air. Ammonia engines were used experimentally in the 19th century by Goldsworthy Gurney in the UK and the St. Charles Avenue Streetcar line in New Orleans in the 1870s and 1880s, and during World War II ammonia was used to power buses in Belgium.

Ammonia is sometimes proposed as a practical alternative to fossil fuel for internal combustion engines. However, ammonia cannot be easily used in existing Otto cycle engines because of its very narrow flammability range. Despite this, several tests have been run. Its high octane rating of 120 and low flame temperature allows the use of high compression ratios without a penalty of high NOx production. Since ammonia contains no carbon, its combustion cannot produce carbon dioxide, carbon monoxide, hydrocarbons, or soot.

Ammonia production currently creates 1.8% of global emissions. 'Green ammonia' is ammonia produced by using green hydrogen (hydrogen produced by electrolysis), whereas 'blue ammonia' is ammonia produced using blue hydrogen (hydrogen produced by steam methane reforming where the carbon dioxide has been captured and stored).

Rocket engines have also been fueled by ammonia. The Reaction Motors XLR99 rocket engine that powered the X-15 hypersonic research aircraft used liquid ammonia. Although not as powerful as other fuels, it left no soot in the reusable rocket engine, and its density approximately matches the density of the oxidiser, liquid oxygen, which simplified the aircraft's design.

In 2020, Saudi Arabia shipped 40 metric tons of liquid 'blue ammonia' to Japan for use as a fuel. It was produced as a by-product by petrochemical industries, and can be burned without giving off greenhouse gases. Its energy density by volume is nearly double that of liquid hydrogen. If the process of creating it can be scaled up via purely renewable resources, producing green ammonia, it could make a major difference in avoiding climate change. The company ACWA Power and the city of Neom have announced the construction of a green hydrogen and ammonia plant in 2020.

Green ammonia is considered as a potential fuel for future container ships. In 2020, the companies DSME and MAN Energy Solutions announced the construction of an ammonia-based ship, DSME plans to commercialize it by 2025. The use of ammonia as a potential alternative fuel for aircraft jet engines is also being explored.

Japan intends to implement a plan to develop ammonia co-firing technology that can increase the use of ammonia in power generation, as part of efforts to assist domestic and other Asian utilities to accelerate their transition to carbon neutrality. In October 2021, the first International Conference on Fuel Ammonia (ICFA2021) was held.

In June 2022, IHI Corporation succeeded in reducing greenhouse gases by over 99% during combustion of liquid ammonia in a 2,000-kilowatt-class gas turbine achieving truly -free power generation. In July 2022, Quad nations of Japan, the U.S., Australia and India agreed to promote technological development for clean-burning hydrogen and ammonia as fuels at the security grouping's first energy meeting. , however, significant amounts of are produced. Nitrous oxide may also be a problem.

At high temperature and in the presence of a suitable catalyst ammonia decomposes into its constituent elements. Decomposition of ammonia is a slightly endothermic process requiring 23 kJ/mol (5.5 kcal/mol) of ammonia, and yields hydrogen and nitrogen gas.

Remediation of gaseous emissions
Ammonia is used to scrub from the burning of fossil fuels, and the resulting product is converted to ammonium sulfate for use as fertiliser. Ammonia neutralises the nitrogen oxide pollutants emitted by diesel engines. This technology, called SCR (selective catalytic reduction), relies on a vanadia-based catalyst.

Ammonia may be used to mitigate gaseous spills of phosgene.

Stimulant
Ammonia, as the vapour released by smelling salts, has found significant use as a respiratory stimulant. Ammonia is commonly used in the illegal manufacture of methamphetamine through a Birch reduction. The Birch method of making methamphetamine is dangerous because the alkali metal and liquid ammonia are both extremely reactive, and the temperature of liquid ammonia makes it susceptible to explosive boiling when reactants are added.

Textile
Liquid ammonia is used for treatment of cotton materials, giving properties like mercerisation, using alkalis. In particular, it is used for prewashing of wool.

Lifting gas
At standard temperature and pressure, ammonia is less dense than atmosphere and has approximately 45–48% of the lifting power of hydrogen or helium. Ammonia has sometimes been used to fill balloons as a lifting gas. Because of its relatively high boiling point (compared to helium and hydrogen), ammonia could potentially be refrigerated and liquefied aboard an airship to reduce lift and add ballast (and returned to a gas to add lift and reduce ballast).

Fuming
Ammonia has been used to darken quartersawn white oak in Arts & Crafts and Mission-style furniture. Ammonia fumes react with the natural tannins in the wood and cause it to change colour.

Safety
The US Occupational Safety and Health Administration (OSHA) has set a 15-minute exposure limit for gaseous ammonia of 35 ppm by volume in the environmental air and an 8-hour exposure limit of 25 ppm by volume. The National Institute for Occupational Safety and Health (NIOSH) recently reduced the IDLH (Immediately Dangerous to Life and Health, the level to which a healthy worker can be exposed for 30 minutes without suffering irreversible health effects) from 500 to 300 based on recent more conservative interpretations of original research in 1943. Other organisations have varying exposure levels. US Navy Standards [U.S. Bureau of Ships 1962] maximum allowable concentrations (MACs): for continuous exposure (60 days) is 25 ppm; for exposure of 1 hour is 400 ppm.

Ammonia vapour has a sharp, irritating, pungent odor that acts as a warning of potentially dangerous exposure. The average odor threshold is 5 ppm, well below any danger or damage. Exposure to very high concentrations of gaseous ammonia can result in lung damage and death. Ammonia is regulated in the US as a non-flammable gas, but it meets the definition of a material that is toxic by inhalation and requires a hazardous safety permit when transported in quantities greater than 3,500 gal.

Liquid ammonia is dangerous because it is hygroscopic and because it can cause caustic burns. See for more information.

Toxicity
The toxicity of ammonia solutions does not usually cause problems for humans and other mammals, as a specific mechanism exists to prevent its build-up in the bloodstream. Ammonia is converted to carbamoyl phosphate by the enzyme carbamoyl phosphate synthetase, and then enters the urea cycle to be either incorporated into amino acids or excreted in the urine. Fish and amphibians lack this mechanism, as they can usually eliminate ammonia from their bodies by direct excretion. Ammonia even at dilute concentrations is highly toxic to aquatic animals, and for this reason it is classified as dangerous for the environment. Atmospheric ammonia plays a key role in the formation of fine particulate matter.

Ammonia is a constituent of tobacco smoke.

Coking wastewater
Ammonia is present in coking wastewater streams, as a liquid by-product of the production of coke from coal. In some cases, the ammonia is discharged to the marine environment where it acts as a pollutant. The Whyalla Steelworks in South Australia is one example of a coke-producing facility that discharges ammonia into marine waters.

Aquaculture
Ammonia toxicity is believed to be a cause of otherwise unexplained losses in fish hatcheries. Excess ammonia may accumulate and cause alteration of metabolism or increases in the body pH of the exposed organism. Tolerance varies among fish species. At lower concentrations, around 0.05 mg/L, un-ionised ammonia is harmful to fish species and can result in poor growth and feed conversion rates, reduced fecundity and fertility and increase stress and susceptibility to bacterial infections and diseases. Exposed to excess ammonia, fish may suffer loss of equilibrium, hyper-excitability, increased respiratory activity and oxygen uptake and increased heart rate. At concentrations exceeding 2.0 mg/L, ammonia causes gill and tissue damage, extreme lethargy, convulsions, coma, and death. Experiments have shown that the lethal concentration for a variety of fish species ranges from 0.2 to 2.0 mg/L.

During winter, when reduced feeds are administered to aquaculture stock, ammonia levels can be higher. Lower ambient temperatures reduce the rate of algal photosynthesis so less ammonia is removed by any algae present. Within an aquaculture environment, especially at large scale, there is no fast-acting remedy to elevated ammonia levels. Prevention rather than correction is recommended to reduce harm to farmed fish and in open water systems, the surrounding environment.

Storage information
Similar to propane, anhydrous ammonia boils below room temperature when at atmospheric pressure. A storage vessel capable of 250 psi is suitable to contain the liquid. Ammonia is used in numerous different industrial applications requiring carbon or stainless steel storage vessels. Ammonia with at least 0.2% by weight water content is not corrosive to carbon steel. carbon steel construction storage tanks with 0.2% by weight or more of water could last more than 50 years in service. Experts warn that ammonium compounds not be allowed to come in contact with bases (unless in an intended and contained reaction), as dangerous quantities of ammonia gas could be released.

Laboratory
The hazards of ammonia solutions depend on the concentration: 'dilute' ammonia solutions are usually 5–10% by weight (< 5.62 mol/L); 'concentrated' solutions are usually prepared at >25% by weight. A 25% (by weight) solution has a density of 0.907 g/cm3, and a solution that has a lower density will be more concentrated. The European Union classification of ammonia solutions is given in the table.

The ammonia vapour from concentrated ammonia solutions is severely irritating to the eyes and the respiratory tract, and experts warn that these solutions only be handled in a fume hood. Saturated ('0.880'–see ) solutions can develop a significant pressure inside a closed bottle in warm weather, and experts also warn that the bottle be opened with care. This is not usually a problem for 25% ('0.900') solutions.

Experts warn that ammonia solutions not be mixed with halogens, as toxic and/or explosive products are formed. Experts also warn that prolonged contact of ammonia solutions with silver, mercury or iodide salts can also lead to explosive products: such mixtures are often formed in qualitative inorganic analysis, and that it needs to be lightly acidified but not concentrated (<6% w/v) before disposal once the test is completed.

Laboratory use of anhydrous ammonia (gas or liquid)
Anhydrous ammonia is classified as toxic (T) and dangerous for the environment (N). The gas is flammable (autoignition temperature: 651 °C) and can form explosive mixtures with air (16–25%). The permissible exposure limit (PEL) in the United States is 50 ppm (35 mg/m3), while the IDLH concentration is estimated at 300 ppm. Repeated exposure to ammonia lowers the sensitivity to the smell of the gas: normally the odour is detectable at concentrations of less than 50 ppm, but desensitised individuals may not detect it even at concentrations of 100 ppm. Anhydrous ammonia corrodes copper- and zinc-containing alloys, which makes brass fittings not appropriate for handling the gas. Liquid ammonia can also attack rubber and certain plastics.

Ammonia reacts violently with the halogens. Nitrogen triiodide, a primary high explosive, is formed when ammonia comes in contact with iodine. Ammonia causes the explosive polymerisation of ethylene oxide. It also forms explosive fulminating compounds with compounds of gold, silver, mercury, germanium or tellurium, and with stibine. Violent reactions have also been reported with acetaldehyde, hypochlorite solutions, potassium ferricyanide and peroxides.

Production
Ammonia has one of the highest rates of production of any inorganic chemical. Production is sometimes expressed in terms of 'fixed nitrogen'. Global production was estimated as being 160 million tonnes in 2020 (147 tons of fixed nitrogen). China accounted for 26.5% of that, followed by Russia at 11.0%, the United States at 9.5%, and India at 8.3%.

Before the start of World War I, most ammonia was obtained by the dry distillation of nitrogenous vegetable and animal waste products, including camel dung, where it was distilled by the reduction of nitrous acid and nitrites with hydrogen; in addition, it was produced by the distillation of coal, and also by the decomposition of ammonium salts by alkaline hydroxides such as quicklime:
 * 2 [NH4]Cl + 2 CaO → CaCl2 + Ca(OH)2 + 2 NH3(g)

For small scale laboratory synthesis, one can heat urea and calcium hydroxide or sodium hydroxide:
 * (NH2)2CO + Ca(OH)2 → CaCO3 + 2 NH3

Electrochemical
Ammonia can be synthesized electrochemically. The only required inputs are sources of nitrogen (potentially atmospheric) and hydrogen (water), allowing generation at the point of use. The availability of renewable energy creates the possibility of zero emission production.

'Green Ammonia' is a name for ammonia produced from hydrogen that is in turn produced from carbon-free sources such as electrolysis of water. Ammonia from this source can be used as a liquid fuel with zero contribution to global climate change.

Another electrochemical synthesis mode involves the reductive formation of lithium nitride, which can be protonated to ammonia, given a proton source, which can be hydrogen. In the early years of the development of this process, ethanol has been used as such a source. The first use of this chemistry was reported in 1930, where lithium solutions in ethanol were used to produce ammonia at pressures of up to 1000 bar. In 1994, Tsuneto et al. used lithium electrodeposition in tetrahydrofuran to synthesize ammonia at more moderate pressures with reasonable Faradaic efficiency. Other studies have since used the ethanol–tetrahydrofuran system for electrochemical ammonia synthesis. In 2019, Lazouski et al. proposed a mechanism to explain observed ammonia formation kinetics.

In 2020, Lazouski et al. developed a solvent-agnostic gas diffusion electrode to improve nitrogen transport to the reactive lithium. The study observed NH3 production rates of up to 30 ± 5 nmol/s/cm2 and Faradaic efficiencies of up to 47.5 ± 4% at ambient temperature and 1 bar pressure.

In 2021, Suryanto et al. replaced ethanol with a tetraalkyl phosphonium salt. This cation can stably undergo deprotonation–reprotonation cycles, while it enhances the medium's ionic conductivity. The study observed NH3 production rates of 53 ± 1 nmol/s/cm2 at 69 ± 1% faradaic efficiency experiments under 0.5-bar hydrogen and 19.5-bar nitrogen partial pressure at ambient temperature.

In 2022, Fu et al. reported the production of ammonia via the lithium mediated process in a continuous-flow electrolyzer also demonstrating the hydrogen gas as proton source. The study synthesized ammonia at 61 ± 1% Faradaic efficiency at a current density of −6 mA/cm2 at 1 bar and room temperature.

Biochemistry and medicine
Ammonia is essential for life. For example, it is required for the formation of amino acids and nucleic acids, fundamental building blocks of life. Ammonia is however quite toxic. Nature thus uses carriers for ammonia. Within a cell, glutamate serves this role. In the bloodstream, glutamine is a source of ammonia.

Ethanolamine, required for cell membranes, is the substrate for ethanolamine ammonia-lyase, which produces ammonia:
 * H2NCH2CH2OH -> NH3  +  CH3CHO

Ammonia is both a metabolic waste and a metabolic input throughout the biosphere. It is an important source of nitrogen for living systems. Although atmospheric nitrogen abounds (more than 75%), few living creatures are capable of using atmospheric nitrogen in its diatomic form, N2 gas. Therefore, nitrogen fixation is required for the synthesis of amino acids, which are the building blocks of protein. Some plants rely on ammonia and other nitrogenous wastes incorporated into the soil by decaying matter. Others, such as nitrogen-fixing legumes, benefit from symbiotic relationships with rhizobia bacteria that create ammonia from atmospheric nitrogen.

In humans, inhaling ammonia in high concentrations can be fatal. Exposure to ammonia can cause headaches, edema, impaired memory, seizures and coma as it is neurotoxic in nature.

Biosynthesis
In certain organisms, ammonia is produced from atmospheric nitrogen by enzymes called nitrogenases. The overall process is called nitrogen fixation. Intense effort has been directed toward understanding the mechanism of biological nitrogen fixation. The scientific interest in this problem is motivated by the unusual structure of the active site of the enzyme, which consists of an Fe7MoS9 ensemble.

Ammonia is also a metabolic product of amino acid deamination catalyzed by enzymes such as glutamate dehydrogenase 1. Ammonia excretion is common in aquatic animals. In humans, it is quickly converted to urea (by liver), which is much less toxic, particularly less basic. This urea is a major component of the dry weight of urine. Most reptiles, birds, insects, and snails excrete uric acid solely as nitrogenous waste.

Physiology
Ammonia plays a role in both normal and abnormal animal physiology. It is biosynthesised through normal amino acid metabolism and is toxic in high concentrations. The liver converts ammonia to urea through a series of reactions known as the urea cycle. Liver dysfunction, such as that seen in cirrhosis, may lead to elevated amounts of ammonia in the blood (hyperammonemia). Likewise, defects in the enzymes responsible for the urea cycle, such as ornithine transcarbamylase, lead to hyperammonemia. Hyperammonemia contributes to the confusion and coma of hepatic encephalopathy, as well as the neurological disease common in people with urea cycle defects and organic acidurias.

Ammonia is important for normal animal acid/base balance. After formation of ammonium from glutamine, α-ketoglutarate may be degraded to produce two bicarbonate ions, which are then available as buffers for dietary acids. Ammonium is excreted in the urine, resulting in net acid loss. Ammonia may itself diffuse across the renal tubules, combine with a hydrogen ion, and thus allow for further acid excretion.

Excretion
Ammonium ions are a toxic waste product of metabolism in animals. In fish and aquatic invertebrates, it is excreted directly into the water. In mammals, sharks, and amphibians, it is converted in the urea cycle to urea, which is less toxic and can be stored more efficiently. In birds, reptiles, and terrestrial snails, metabolic ammonium is converted into uric acid, which is solid and can therefore be excreted with minimal water loss.

Extraterrestrial occurrence
Ammonia has been detected in the atmospheres of the giant planets Jupiter, Saturn, Uranus and Neptune, along with other gases such as methane, hydrogen, and helium. The interior of Saturn may include frozen ammonia crystals. It is found on Deimos and Phobos–the two moons of Mars.

Interstellar space
Ammonia was first detected in interstellar space in 1968, based on microwave emissions from the direction of the galactic core. This was the first polyatomic molecule to be so detected. The sensitivity of the molecule to a broad range of excitations and the ease with which it can be observed in a number of regions has made ammonia one of the most important molecules for studies of molecular clouds. The relative intensity of the ammonia lines can be used to measure the temperature of the emitting medium.

The following isotopic species of ammonia have been detected: NH3,^{15}NH3, NH2D, NHD2, and ND3. The detection of triply deuterated ammonia was considered a surprise as deuterium is relatively scarce. It is thought that the low-temperature conditions allow this molecule to survive and accumulate.

Since its interstellar discovery, NH3 has proved to be an invaluable spectroscopic tool in the study of the interstellar medium. With a large number of transitions sensitive to a wide range of excitation conditions, NH3 has been widely astronomically detected–its detection has been reported in hundreds of journal articles. Listed below is a sample of journal articles that highlights the range of detectors that have been used to identify ammonia.

The study of interstellar ammonia has been important to a number of areas of research in the last few decades. Some of these are delineated below and primarily involve using ammonia as an interstellar thermometer.

Interstellar formation mechanisms
The interstellar abundance for ammonia has been measured for a variety of environments. The [NH3]/[H2] ratio has been estimated to range from 10−7 in small dark clouds up to 10−5 in the dense core of the Orion molecular cloud complex. Although a total of 18 total production routes have been proposed, the principal formation mechanism for interstellar NH3 is the reaction:
 * [NH4]+ + e− → NH3 + H

The rate constant, k, of this reaction depends on the temperature of the environment, with a value of $$5.2\times 10^{-6}$$ at 10 K. The rate constant was calculated from the formula $-18 cm3/mol$. For the primary formation reaction, $a = 1.05e−6$ and $B = −0.47$. Assuming an NH4+ abundance of $$3\times 10^{-7}$$and an electron abundance of 10−7 typical of molecular clouds, the formation will proceed at a rate of $k = a(T/300)^B$ in a molecular cloud of total density $1.6e−9 cm^{−3}s^{−1}$.

All other proposed formation reactions have rate constants of between two and 13 orders of magnitude smaller, making their contribution to the abundance of ammonia relatively insignificant. As an example of the minor contribution other formation reactions play, the reaction:
 * H2 + NH2 → NH3 + H

has a rate constant of 2.2. Assuming H2 densities of 105 and [NH2]/[H2] ratio of 10−7, this reaction proceeds at a rate of 2.2, more than three orders of magnitude slower than the primary reaction above.

Some of the other possible formation reactions are:
 * H− + [NH4]+ → NH3 + H2
 * [PNH3]+ + e− → P + NH3

Interstellar destruction mechanisms
There are 113 total proposed reactions leading to the destruction of NH3. Of these, 39 were tabulated in extensive tables of the chemistry among C, N and O compounds. A review of interstellar ammonia cites the following reactions as the principal dissociation mechanisms:

with rate constants of 4.39×10−9 and 2.2×10−9, respectively. The above equations ($cm^{−3}$, $$) run at a rate of 8.8×10−9 and 4.4×10−13, respectively. These calculations assumed the given rate constants and abundances of [NH3]/[H2] = 10−5, [[H3]+]/[H2] = 2×10−5, [HCO+]/[H2] = 2×10−9, and total densities of n = 105, typical of cold, dense, molecular clouds. Clearly, between these two primary reactions, equation ($$) is the dominant destruction reaction, with a rate ≈10,000 times faster than equation ($$). This is due to the relatively high abundance of [H3]+.

Single antenna detections
Radio observations of NH3 from the Effelsberg 100-m Radio Telescope reveal that the ammonia line is separated into two components–a background ridge and an unresolved core. The background corresponds well with the locations previously detected CO. The 25 m Chilbolton telescope in England detected radio signatures of ammonia in H II regions, HNH2O masers, H–H objects, and other objects associated with star formation. A comparison of emission line widths indicates that turbulent or systematic velocities do not increase in the central cores of molecular clouds.

Microwave radiation from ammonia was observed in several galactic objects including W3(OH), Orion A, W43, W51, and five sources in the galactic centre. The high detection rate indicates that this is a common molecule in the interstellar medium and that high-density regions are common in the galaxy.

Interferometric studies
VLA observations of NH3 in seven regions with high-velocity gaseous outflows revealed condensations of less than 0.1 pc in L1551, S140, and Cepheus A. Three individual condensations were detected in Cepheus A, one of them with a highly elongated shape. They may play an important role in creating the bipolar outflow in the region.

Extragalactic ammonia was imaged using the VLA in IC 342. The hot gas has temperatures above 70 K, which was inferred from ammonia line ratios and appears to be closely associated with the innermost portions of the nuclear bar seen in CO. NH3 was also monitored by VLA toward a sample of four galactic ultracompact HII regions: G9.62+0.19, G10.47+0.03, G29.96-0.02, and G31.41+0.31. Based upon temperature and density diagnostics, it is concluded that in general such clumps are probably the sites of massive star formation in an early evolutionary phase prior to the development of an ultracompact HII region.

Infrared detections
Absorption at 2.97 micrometres due to solid ammonia was recorded from interstellar grains in the Becklin–Neugebauer Object and probably in NGC 2264-IR as well. This detection helped explain the physical shape of previously poorly understood and related ice absorption lines.

A spectrum of the disk of Jupiter was obtained from the Kuiper Airborne Observatory, covering the 100 to 300 cm−1 spectral range. Analysis of the spectrum provides information on global mean properties of ammonia gas and an ammonia ice haze.

A total of 149 dark cloud positions were surveyed for evidence of 'dense cores' by using the (J,K) = (1,1) rotating inversion line of NH3. In general, the cores are not spherically shaped, with aspect ratios ranging from 1.1 to 4.4. It is also found that cores with stars have broader lines than cores without stars.

Ammonia has been detected in the Draco Nebula and in one or possibly two molecular clouds, which are associated with the high-latitude galactic infrared cirrus. The finding is significant because they may represent the birthplaces for the Population I metallicity B-type stars in the galactic halo that could have been borne in the galactic disk.

Observations of nearby dark clouds
By balancing and stimulated emission with spontaneous emission, it is possible to construct a relation between excitation temperature and density. Moreover, since the transitional levels of ammonia can be approximated by a 2-level system at low temperatures, this calculation is fairly simple. This premise can be applied to dark clouds, regions suspected of having extremely low temperatures and possible sites for future star formation. Detections of ammonia in dark clouds show very narrow lines – indicative not only of low temperatures, but also of a low level of inner-cloud turbulence. Line ratio calculations provide a measurement of cloud temperature that is independent of previous CO observations. The ammonia observations were consistent with CO measurements of rotation temperatures of ≈10 K. With this, densities can be determined, and have been calculated to range between 104 and 105 cm−3 in dark clouds. Mapping of NH3 gives typical clouds sizes of 0.1 pc and masses near 1 solar mass. These cold, dense cores are the sites of future star formation.

UC HII regions
Ultra-compact HII regions are among the best tracers of high-mass star formation. The dense material surrounding UCHII regions is likely primarily molecular. Since a complete study of massive star formation necessarily involves the cloud from which the star formed, ammonia is an invaluable tool in understanding this surrounding molecular material. Since this molecular material can be spatially resolved, it is possible to constrain the heating/ionising sources, temperatures, masses, and sizes of the regions. Doppler-shifted velocity components allow for the separation of distinct regions of molecular gas that can trace outflows and hot cores originating from forming stars.

Extragalactic detection
Ammonia has been detected in external galaxies, and by simultaneously measuring several lines, it is possible to directly measure the gas temperature in these galaxies. Line ratios imply that gas temperatures are warm (≈50 K), originating from dense clouds with sizes of tens of parsecs. This picture is consistent with the picture within our Milky Way galaxy – hot dense molecular cores form around newly forming stars embedded in larger clouds of molecular material on the scale of several hundred parsecs (giant molecular clouds; GMCs).