Autodesk Interview Question

How attention mechanism work in Transformers?