Connect the belt of the fitness machine to the gear to form a circular motion.
Put appropriate coils and magnets in circular motion, and it will form alternating current with a certain voltage.
Then the current is converted into a current with usable voltage.
Store the current for later use.