The Model View Controller (MVC) architecture is made up of three parts:
Model: This is the lowest level of the pattern needed to maintain the data.
View: This enables the user to view the data.
Controller: This is the software code which controls the Model and View.
The following illustration explains the MVC architecture:
MVC’s specialty is that it isolates the application logic from the user interface layer. The Controller then receives requests from an event and processes the Model to prepare the data that is needed by the view. The View uses this data and generates output for the user to view.