The last layer, the application layer, sums up the last three levels of OSI—session, presentation, and application. This layer defines the architecture used by the applications, such as peer-to-peer or client and server, and the protocols used by the applications, such as SSH, HTTP, or SMTP. Each process is an address with a virtual endpoint of communication called port.