Occurs when chemical reactions dissolve the minerals in rocks or change them into different minerals.