A circuit which operates like a switch (it is either “on” or “off”), and can make logical decisions. It is used in computers or similar decision making equipment.