Pregunta de entrevista de Micron Technology

How does a transistor work?