Question d’entretien chez Itential

Why would you use polymorphism and inheritance in coding?