Soil is composed of minerals, water, air and organic matter. It has distinct horizontal layers called horizons, including the O horizon at the top with partially decomposed organic matter, the A horizon or topsoil containing humus and living creatures, the B horizon or subsoil rich in minerals and clay but also containing roots, and the C and D horizons of weathering parent material and bedrock.