Maxwell's demon — thought experiment