DornerWorks interview question

Explain transistors.