The bundling of data and methods that operate on that data into a single unit (class).
Encapsulation is like putting data and the code that works with it into a secure box (a class). It helps protect the data from accidental changes and ensures that the code works correctly with it. It's like having a password for your data.