Pencil beam scanning (PBS) is an advanced form of proton therapy used in the treatment of cancer. Unlike traditional radiation therapy, which uses X-rays, PBS delivers protons to the cancer cells with high precision. This technique involves scanning a narrow proton beam across the tumor, layer by layer, allowing for precise targeting of the cancerous tissue while sparing surrounding healthy tissue.