The functionality of photoresist relies on its photosensitive properties. When exposed to specific wavelengths of light (such as ultraviolet), the chemical structure of the photoresist changes. This alteration can either increase or decrease its solubility in a specific developer solution, depending on whether it is a positive or negative photoresist. The substrate is then immersed in the developer solution, which selectively removes either the exposed or unexposed areas.