For example, when potassium is added to water, the metal melts and floats. It moves around very quickly on the surface of the water. The metal self-ignites, which also ignites the hydrogen gas. This results in sparks and a lilac flame. There is sometimes a small explosion at the end of the reaction.