Formed by magma in moltencentre of the earth. Magma erupts,cools, forms volcaniclandforms. If magma coolsinside the earth, it forms intrusive rock which may be later exposed by erosion and weathering e.g. GRANITE. If magma erupts on the surface as lava, it will form extrusive rock e.g. BASALT
Formed by sediments that settle at the bottom of the sea, lakes or oceans. Sediment: eroded rocks (carried by rivers or ice), skeletons of sea creatures