Earth's crust is made of rock, and rock is made of natural substances called minerals. There are three main types of rock: sedimentary, igneous, and metamorphic rock. Each type is produced in different ways. The oldest rocks on Earth were formed about 3.8 billion years ago.