I will try to answer one question only, as simply as possible. "how transistors work".
Think of a transistor as a "voltage controlled semi-conductor, with 3 terminals B, C and E, whose conductivity between C and E varies in response to a (small) voltage applied to B".
How this conductivity...