Intraoperative neurophysiological monitoring is used to monitor the central or peripheral nervous system during surgery. It assists surgeons in controlling damage and preserving the functionality of the nervous system.