Question: what is the relationship between rocks and soil?
Answer: Soil is loose materials and rock is consolidated ones. Soil, with time, may consolidate and form rock by disposal of water and maybe filling the pores between grains with cementation materials. And the forming of rock may experience several stages of diagenesis to form one or more than one type of rocks.