By understanding the ways in which minerals combine to form rocks like the way words link to form sentences, we can start to unravel the secrets of the earth.