Nd:YAG lasers operate by emitting a wavelength of light that is highly absorbed by water and hemoglobin, allowing them to effectively coagulate and cut through biological tissues. The laser energy is absorbed by the target tissue, converting it into heat, which can either destroy cancer cells directly or cut through tissues with precision, minimizing damage to the surrounding healthy cells.