Which statement is true about igneous rocks?