Amazon interview question

Why do we need positional encoding in the transformers