Pregunta de entrevista de STMicroelectronics

What are transistors and how do they work?