What Causes a Spark?

A spark can be caused by two objects touching each other with a flow of energy. Energy can be in electricity so when two wires touch and a light is seen, a surge of electric current has made a spark.