PTC interview question

Why is encapsulation important in object oriented programming?