What exactly is a detox diet?

A waste of money. You'll find lots of snake oil salesmen pushing this. It has no medical basis.
Depends. Depends on what you are trying to achieve. Detox is complex, and different definitions of a detox diet exist. Consider reading dr crinnion's book clean green and lean for more info on detox.