How do Integrated Circuits Work?

Integrated Circuits (ICs) contain fine thin wafer of silicon on which doping is made to make various gates & tracks. Pins for connections are brought out. Hence they provide function in compact form.