Answer:
The answer is option B - Rock formed by cooling (Igneous rock)
Step-by-step explanation:
Volcanic rock (also called extrusive rock) is one type of magmatic rock (igneous rocks) and is the condensated product of extrusive magma after diagenesis and compaction, which differ greatly from sedimentary rocks in forming conditions, environments, and distribution.