IMEC (Belgium) Interview Question

How does a transistor work?