Cancer can significantly impact the function of the affected organ. For example, pancreatic cancer can interfere with insulin production and lead to diabetes, while brain cancer can affect cognitive functions and motor skills. The degree of impact depends on the stage and location of the cancer as well as the organ involved.