Diodes (including LED)

Only allows electricity to flow one-way. Some diodes produce and absorb light!