Most rocks are primarily made of the following elements:
Oxygen, silicon, aluminum, iron, calcium, sodium, potassium, magnesium
These elements are essential components of common rock-forming minerals. For example, silicates (which include quartz and feldspar) are the most abundant minerals in the Earth's crust and are primarily composed of silicon and oxygen.