Basalt and granite are igneous rocks.

Marble is a metamorphic rock.

Sandstone is a sedimentary rock.