Abstraction is used to hide the internal functionality of the function from the users. In Python, an abstraction is used to hide the irrelevant data/class in order to reduce the complexity. It also enhances the application efficiency.
Syntax:
from abc import ABC Class ClassName(ABC):