Cancer can affect the spine in several ways. Tumors may compress the spinal cord or nerve roots, leading to pain, weakness, or loss of sensation. Additionally, cancer can weaken the vertebrae, making them prone to fractures. This condition is known as spinal metastasis. In some cases, the spinal cord itself may be invaded by cancer cells, potentially causing severe neurological complications.