A special light-and-shadow pattern is shone through a photomask, onto a sheet or wafer of silicon that had been covered with a material called a photoresist. The light hardens the photoresist. When the board is dipped into a special acid, the parts that had no light on them are dissolved away. 