Maxwell's demon is a hypothetical device to seemingly circumvent the second law of thermodynamics. It imagines two gas-filled containers separated by an aperture, which can be opened or closed to ...