Capgemini interview question

Q: Explain how does an AVL tree works.