Three-tier architecture includes a client and two server layers.
The application code is stored on the application server and the database is stored
on the database server. A two-tier architecture includes a client and one server layer.
The database is stored on the database server.