HCLTech Interview Question

What is a OpAmp used for?