Which of the following is true about rocks?