What is the answer?

Rocks found on Earth are classified as sedimentary, metamorphic, or igneous based on
how the rocks were formed.