Redirecting to How a transistor works