G-Research Interview Question

How does the Adam optimizer work?