What type of rock is formed from cooling magma or lava?

a) Sedimentary rock
b) Metamorphic rock
c) Igneous rock
d) Fossilized rock

c) Igneous rock