Cinnabar is a mineral, not a rock. It crystallizes in hydrothermal vein deposits and is associated with volcanic and hot spring environments.