When the first element of the periodic table is treated with dioxygen, it gives a compound whose solid state floats on its liquid state. This compound has an ability to act as an acid as well as a base. What products will be formed when this compound undergoes autoionisation?

The first element of the periodic table is hydrogen and its molecular form is dihydrogen (H2). When H2 reacts with O2, water is formed. Water is a liquid at room temperature. When liquid water freezes, it expands to form ice.
Density of ice is lower than that of liquid water and hence ice floats over water. Water is amphoteric in nature. It acts as a base in presence of strong acids and as an acid in presence of strong bases.
H2O(l)Base1+H2S(aq)Acid2H3O+(aq)Acid1+HS-(aq)Base2H2O(l)Acid1+NH3(aq)Base2NH4+(aq)Acid2+OH-(aq)Base1
Due to amphoteric character, water undergoes self ionisation as shown below
H2O(l)Acid1+H2O(aq)Base2H3O+(aq)Acid2(Conjugateacid)+OH-(aq)Base1(Conjugatebase)
This self ionisation of water is called auto-protolysis and autoionisation.