Question: What is the use of a transistor?
Sentence: A transistor is a semiconductor device used to amplify or switch electronic signals and electrical power.
Answer in sentence: yes