Which type of rock contains minerals arranged in crystals and forms when molten rock cools and turns solid?
A. sedimentary rock
B. metamorphic rock
C. fossilized rock
D. igneous rock