How does double distillation work?

Cognac is distilled twice in a copper pot still. The first pass produces a cloudy spirit called brouillis. The second separates heads, heart and tails, and