exposure to extreme heat and pressure changes sedimentary rock into metamorphic rock & if something rotation into something else then that something else is formed from that something ->  metamorphic rock is formed from sedimentary rock