Infrastructure: these are the external elements with which the application communicates, both input and output:
Entry points: an API with REST or GraphQL, messaging with RabbitMQ or via the command line, etc.
Exit points: a relational database with PostgreSQL, non-relational with MongoDB, or also sending messages with RabbitMQ, etc.
– Application/Use Cases: it deals with the evaluation of business rules and decision making. They contain the rules that give meaning to the application. Use cases direct the flow to the entities and orchestrate them to accomplish the business.
– Domain: it responds to the application data model, domain services, interfaces, etc. Entities are the defined models that interact in the system; they must be abstract enough to be used by multiple applications in the business.
https://www.mytaskpanel.com/the-5-advantages-of-using-a-clean-architecture-all-you-need-to-know/