MVC is the pattern on which the whole of codeIgniter framework is based. Now let’s get to know the MVC, it is basically a software that delivers the users a separate logical view from the
presentation view.
This results in a web page that contains the minimal scripting.
Model - The models are basically managed by the controller. The data structure of the programmer is generally represented by the model. Model classes consist of the functions by the help of
which programmers can insert, retrieve or update information in their database.
View - The information that is generally displayed in front of the users is known as the view. A view can be either a web page or parts of the page such as header and footer.
Controllers - The intermediary that is present between the models and the view that is used to process HTTP request and in generating a web page is known as the controller. Models and view
are the one that process the information of the requests that are received by the controller and passed on to them.