student heated beaker containing liquid over yellow flame after beaker was removed student n

A student heated a beaker containing a liquid over a yellow flame. After the beaker was removed the student noticed a black deposit on the underside of the beaker. What is the black deposit and where did it come from? What could the student do next time to avoid having the black deposit?