Qualcomm interview question

How does Bandgap work?