Negative photoresist works by undergoing a chemical change upon exposure to light, typically ultraviolet (UV) light. The process involves coating a substrate with the photoresist, exposing it to a pattern of light, and then developing it to remove the unexposed regions. This selective removal creates a pattern on the substrate that can be used for further processing.