Infocusp interview question

Explain in detail working of PCA algorithm