Our model consists of three components—the application, the database engine, and the database tables. The application consists of the graphical user interface (GUI) and the application-specific logic. The database engine contains the query engine and the database logic. The database tables are where the data is stored—both permanent or temporary. The locations of the components determine many behavior characteristics.