Metamorphic rocks started out as some other type of rock, but have been substantially changed from their original igneous, sedimentary, or earlier metamorphic form. Metamorphic rocks form when rocks are subjected to high heat, high pressure, hot, mineral-rich fluids or, more commonly, some combination of these factors. Conditions like these are found deep within the Earth or where tectonic plates meet.
Hope this helps! (took me a hour to type lol)