Glowing pickle demonstration
Applying electric current across a pickle causes it to glow. A moist pickle contains salt as a result of the pickling process, which allows it to conduct electricity. Ions of sodium and other substances within the pickle emit light as a result of atomic electron transitions. The pickle only glows at the bottom end because it is where the brine collects. The glowing pickle is used to demonstrate ionic conduction and atomic emission in chemistry classes, and also as a demonstration in lighting classes.
Read on Wikipedia