A fun way to imagine it is with Maxwell's Demon.
https://en.wikipedia.org/wiki/Maxwell%27s_demon
That is an example of one way in which information can be exchanged for work.
https://en.wikipedia.org/wiki/Maxwell%27s_demon
That is an example of one way in which information can be exchanged for work.
Specifically, the entropy within the box gets converted into information inside the demon's "head", which eventually gets radiated away as entropy outside the box. This way, the box's entropy falls, but the entropy of universe as a whole is raised (or at least maintained).