Here is what goes on in A typical semiconductor foundry

Any of a class of crystalline solids in electrical conductivity between a conductor and an insulator is referred to as Semiconductor. Semiconductors are used in the manufacture of various kinds of electronic devices, such as diodes, transistors, and integrated circuits.
Table of Contents
A semiconductor material has an electrical conductivity value falling between that of a conductor, such as metallic copper, and an insulator, such as glass.
Their resistance falls as their temperature rises; conductors are the opposite. Its conducting properties may be altered in useful ways by introducing impurities into the crystal structure.
In two video, you get a peek of a typical semiconductor fab from Taiwan Semiconductor Manufacturing Company, Limited; a Taiwanese multinational semiconductor company (TSMC) and Global Foundry; a United States semiconductor foundry.