Ammonia is a compound with the formula NH3. It is a colourless gas with a distinctive pungent smell. Ammonia is a basic substance and can react with acids to form salts. It is also a weak base and can react with water to form ammonium hydroxide. Ammonia is a versatile substance and is used in a variety of applications, including as a fertilizer, a cleaning agent, and a refrigerant.