The working principle of biological photoresists is based on photolithography, a process widely used in semiconductor manufacturing. In this process, the biological photoresist is applied to a substrate and then exposed to a specific wavelength of light through a mask. The light exposure triggers a chemical reaction in the photoresist, causing it to become either more soluble (positive photoresist) or less soluble (negative photoresist) in a developer solution. This allows for the selective removal of either the exposed or unexposed areas, thereby creating a pattern.