importance of rock formations