GlobalFoundries interview question

describe how transistor works