Nitric acid is used in the production of ammonium nitrate for fertilizers, making plastics, and in the manufacture of dyes. It is also used for making explosives such as nitroglycerin and TNT. When it is combined with hydrochloric acid, a mixture called aqua regia is formed.