In other words, Maxwell imagines two containers, A and B, filled with the same gas at equal temperatures, placed next to each other. A little "demon" guards a trapdoor between the two containers, observing the molecules on both sides. When a faster-than-average molecule from A flies towards the trapdoor, the demon opens it, and the molecule will fly from A to B. Thus, the average speed of the molecules in B will have increased, while the molecules in A will have slowed down on average. However, since average molecular speed corresponds to temperature, the temperature in A will have decreased and in B will have increased; this is contrary to the second law of thermodynamics.

I am not sure what the purpose of this post was as the poster has been banned.

The problem with Maxwell's "thought experiment" is that the Second Law of Thermodynamics does deal with demons.