Goldman Sachs Interview Question

Explain one hot encoding and it's relevance to ML.