Genetic substitutions can activate oncogenes or deactivate tumor suppressor genes. For instance, a single nucleotide substitution in the KRAS gene can lead to its constant activation, driving uncontrolled cell proliferation. Similarly, a substitution in the TP53 gene can impair its tumor-suppressing function, making cells more prone to becoming cancerous.