In the original Maxwell’s demon thought experiment, a demon makes continuous measurements on a system of hot and cold reservoirs, building up a thermal gradient that can later be used to perform work. As the demon’s measurements do not consume energy, it appears that the demon violates the second law of thermodynamics, although this paradox can be resolved by considering that the demon uses information to perform its sorting tasks.