In object-oriented programming (OOP), abstraction conceals irrelevant details so they don’t interfere with the task at hand.
A real-world example of abstraction is a cellphone’s interface. To make a call, you press a button and it connects you with the other person — you don’t need to know anything about the microchips, cellphone towers, or radio waves that connect you. Abstraction hides that process.
In web design, abstraction simplifies a website’s experience for end users. They don’t know what code is executed after clicking a button, for example, because it would interfere with their experience.