It is pretty simple.
Transport layer - data transfer between two ends. Thus, he takes care of many things, such as relaying data if it failed in a previous attempt, flow control, error control. You should know the difference between error checking using the transport layer and the DLL. (Google for this).
The application layer is close to the user end. The user interacts with the network through the application layer. Tell the HTTP protocol. The application layer defines the rule for the end user to transmit data over the Internet. It is more software oriented.
As a layer, you think the application layer defines or sets the rule for data transfer, identifies the end partner, etc. (Can you look for what HTTP does?) And passes the data to the lower layers. And finally, the transport layer takes care of sending this data to the network.
source share