That’s right. The wafers are first coated with a light-sensitive chemical, called “photoresist.” They are then exposed to ultraviolet light via the photomask. After that, the wafer ho though development, and then undergo “etching” to remove the unwanted insulator. This leaves an engraved pattern on the wafer surface.