Encapsulation is the process of create block of code (generally function) hiding the implementation details in order to create an abstraction.