Capgemini interview question

what is encapsulation and what is real time example