Question d’entretien chez PTC

Why is encapsulation important in object oriented programming?