PwC Interview Question

Explain cholesky decomposition for simulating correlated variables.