Thoughtworks interview question

Explain the difference between grid and flex