What is the difference between factor analysis and principal component analysis?

The aim of principal component analysis is to explain the covariance between variables while the aim of factor analysis is to explain the variance between variables.