Study of origin, structure, and composition of rocks