Step-by-step explanation:
All of the rocks are droved from the basement rock. It is local environment to produce different rocks type. Cooling of lava in chambers produce different type of igneous rocks. Breakup of these rocks by rain water produce sedimentary rocks.