What is self-attention, and how does it work in Transformers?

Technical