Oncogenes are mutated forms of normal genes, known as proto-oncogenes, that promote cell division and survival. When these genes are activated inappropriately, they can lead to cancer. Tumor suppressor genes, on the other hand, act as brakes on cell growth and division. When these genes are inactivated or lost, cells can grow uncontrollably, contributing to cancer development.