While most cancers are not directly inherited, some individuals inherit genetic mutations that significantly increase their risk. These mutations can be passed down through generations, leading to familial cancer syndromes. Genetic counseling and testing can help identify these syndromes and guide prevention and management strategies.