MX interview question

Explain how rails controllers work in an application