Explained: Why ‘carbon market’ is debated

It is a major contentious issue at Madrid climate talks, dividing the developed and developing world. What is the concept, why was it felt necessary, and what are the major points of disagreement?