Soil is made out of all of these things and covers almost all landmasses. Even below sand and rock there is soil.
The number of electrons in an atom's outermost valence shell governs its bonding behaviour. Elements whose atoms have the same number of valence electrons are grouped together in the Periodic Table. ... Nonmetals tend to attract additional valence electrons to form either ionic or covalent bonds.