Step through turning French "le chat noir" into "the black cat". An encoder reads all the input first, then a decoder writes the output one word at a time.
E
le
E
chat
E
noir
|
D
the
D
black
D
cat
The encoder reads the whole input sequence first, building up its memory.