Genetic immunity refers to the natural resistance to certain infectious diseases that some individuals possess due to their genetic makeup. This form of immunity is inherited and provides protection against specific pathogens without prior exposure or vaccination.