The Adapter pattern translates one interface into another, allowing incompatible systems to work together by acting as a bridge.
The Adapter pattern is a structural design pattern that enables objects with incompatible interfaces to collaborate. It acts as a wrapper that converts the interface of a class into another interface that clients expect. This is particularly useful when integrating third-party libraries, refactoring legacy code, or adapting API responses to match your application's internal data model [citation:1].