Wolfspeed interview question

What is a transistor?