Titanium is present in most igneous rocks and their sediments, it is the 9th most abundant element in the Earth's crust and the 7th most abundant metal.
Sedimentary rocks cover the majority of the Earth's rocky surface but only make up a small percentage of the Earth's crust compared to metamorphic and igneous types of rocks.
Metamorphic rocks can be formed by pressure deep under the Earth's surface, from the extreme heat caused by magma or by the intense collisions and friction of tectonic plates.