iASYS interview question

How does opamp work?