There is no mystery here; seen as a whole, the entropy of the Universe is increasing, but a little machine such as a chloroplast can do work, using energy supplied to it in a useful form from the Sun, to build an ordered thing, as long as it increases the disorder around it. This is part of the answer to Schrödinger’s paradox.

