Qualcomm interview question

How does a bandgap work?