A component that lets current flow in one direction, used for rectification, protection, and switching.