Three-layer web application design

In a three-layer web application, there is physical separation between the presentation, application, and data layer, which is described as follows:

The following diagram shows how the presentation, application, and data access layers work together: