Epistasis is a type of gene interaction where one gene masks or modifies the effect of another gene. It can alter expected Mendelian phenotypic ratios in the offspring.