>>106142886 (OP)You need to read a book/watch a video on it.
But the very simplified version is as follows:
Any and every material allow electrical charges to move on them.
But some will allow an easy flow (that's a conductor), and some won't allow an easy flow (that's an isolator. You would need a very high voltage, or a shitload of electrons, to make it conductive).
Semiconductors are material that usually don't allow a free flow of electrons, but will kinda allow ot to accumulate on it's border.
The simplest way to use it is to make a diode. It's like a wire, but will only allow the current to flow in one direction, not the other.
Very roughly, a diode is a stack of two semiconductors with different polarity (polarity is more or less "does it likes receiving or giving electrons").
Such a stack, when the electricity flows in the correct direction, will accumulate charges on the shared border, and, because the materials are carefully selected, the charge will be able to "jump" from one material to the other, allowing flow and thus conducting.
When the electricity flows in the other direction, the charge accumulate on the opposite sides of the junction. Meaning the electrons are far too distant to "jump". The electricity don't flow, the component isn't conducting.
Applying the same principles, by carefully stacking 3 layers with special properties, you can control if the charges travel from one side to the other by applying a charge on the "third side". It's more or less an electrically controlled switch, and it's called, a transistor.