In that they are both converting energy of one form into another. A windmill converts the kinetic energy of the wind into the mechanical energy of a moving shaft. A photoautotroph converts electromagnetic radiation, sunlight, into potential chemical energy stored in the carbon-carbon bonds.
METAMIA is a free database of analogy and metaphor. Anyone can contribute or search. The subject matter can be anything. Science is popular, but poetry is encouraged. The goal is to integrate our fluid muses with the stark literalism of a relational database. Metamia is like a girdle for your muses, a cognitive girdle.