Hello Ankit,
Visualforce controllers are the set of instructions to be followed when a user interacts with any component on visualforce page like after click on any button what it action next. In Salesforce we have three controllers :
- Standard Controller
- Custom Controller
- Controller Extensions
Hope this answer would be helpful!!