A diode only allows current to pass in one direction:
http://en.wikipedia.org/wiki/Diode