A semiconductor device with two terminals, typically allowing the flow of current in one direction only.