human
Question: When a volcano erupts, lava flows out from the top. What type of rock is formed as the lava cools?

Choices:
A) magma
B) igneous
C) sedimentary
D) metamorphic
gpt
The correct answer is 1: igneous.