Why is VAE better than AE?

Choosing the distribution of the code in VAE allows for a better unsupervised representation learning where samples of the same class end up close to each other in the code space. Finding a meaning for the areas in the code space gets simpler as a result.