Brain metastases occur when cancer cells spread from their original site to the brain. This is a common complication in patients with advanced cancers, especially those originating from the lungs, breasts, skin (melanoma), kidneys, and colon. Brain metastases can significantly impact the quality of life and prognosis of cancer patients.