What do consultants do all day, and why would anyone pay good money for their services?

I met a consultant who makes half a million a year. Why does he earn more than a doctor?