As seen in the architecture overview, Jina is organized in different layers.
The Serving layer is composed of concepts that allow developers to write their logic to be served by the objects in orchestration layer.
Two objects belong to this family:
Executor), serves your logic based on docarray data structures.
Gateway), directs all the traffic when multiple Executors are combined inside a Flow.