Igneous and sedimentary rocks may be changed into metamorphic rock. State the conditions under which this change may occur.