Dear Student,
A rock is a solid mineral material forming part of the surface of the earth and other similar planets or is exposed on the surface or underlies the soil, or is a mass of rock projecting above the earth's surface or out of the sea.
Regards