Rashi was performing an experiment. She mixed a compound X with water in a beaker. She found that the beaker was becoming hot, releasing heat and forming a new substance Y. She was shocked and left the room leaving the product. After three-four days when she returned, she found that the substance Y had changed into a shiny substance Z. What are X, Y and Z.