MVC is architecture pattern. It’s divided in main 3 sections:
- Model
- View
- Controller
Model: The Model represents a set of classes that describe the business logic and provides the data to
view.
View: View is
responsible for look and feel. It is only responsible for displaying the data that is received from the controller as the result.
Controller: controller is responsible for take the user request and process the user's data with the help of Model and passing the results back to the View.