It's formed from the metamorphism of shale (a sedimentary rock) under conditions of moderate temperature and pressure.