Explain the role of the Sun in the formation of soil

Explain the role of the Sun in the formation of soil .
Answer:
During the daytime, the rocks are heated up by the Sun and thus they expand. Whereas, at night they cool down and thus contract. Since all parts of the rock do not expand and contract at the same rate, it results in cracking of rocks, breaking them into smaller pieces.