Rocks and minerals form the foundation of Earth's crust, with minerals being natural inorganic substances…