what is the difference between capacitor and transistor?
A transistor is a semiconductor device. It used to amplify or switch electronic signals and electrical power. The main difference between the capacitor and the transistor is that the capacitor is used to store energy for a short period of time and the transistor act as a switch.