MVC is an architectural pattern that separates an application into three main logical components: the model, the view, and the controller.