I want to know the answer to the following question:
What is the use of a transistor?
All the background I'm provided with is that "A transistor is a semiconductor device used to amplify or switch electronic signals and electrical power.". Is that enough to answer the question?