Study of composition and properties of rocks