MVC patter is a design patter which helps us to structure our projects. It breaks down the projects to 3 parts Model, View and Control.
Model is responsible for : to all the data-related logic that the user works with.
View: The View component is used for all the UI logic of the application. For example, the Customer view will include all the UI components such as text boxes, dropdowns, etc. that the final user interacts with.
Controllers act as an interface between Model and View components to process all the business logic and incoming requests, manipulate data using the Model component and interact with the Views to render the final output.