Which horizons are composed of unweathered rocks, weathered rocks, young soil, and q well-developed soil?

how did oxygen come to make up 21 percent

of earth present atmosphere.