Autoencoder is a simple 3-layer neural network where output units are directly connected back to input units. E.g. in a network like this:
The difference between each other.
To explain how the generative adversarial works, this article did a very good job explain it.
Another good and newer one.
original address: