A transistor is an electronic device made of semiconductor material that can act as a conductor or insulator. It has three regions - the emitter, base, and collector. There are different types of transistors including bipolar junction transistors, field effect transistors, and metal oxide semiconductor transistors. Transistors are used as switches in many electronic devices like smartphones and computers. They allow devices to store and process information using integrated circuits. Transistors brought many advantages over previous technologies like smaller size, lower cost, and longer life.