HCLTech Interview Question

What is regularization, and how does it help in machine learning models?