Hydrogen is the simplest and lightest element. It has one proton and one electron. Hydrogen exists as diatomic hydrogen gas (H2) and is the first element in the periodic table. It can form compounds with almost all elements by gaining, losing or sharing electrons. Water (H2O) is an important compound of hydrogen that is essential for life. The largest use of hydrogen is in the production of ammonia, which is used to make fertilizers and other chemicals.