This is the pulley at the top of the mill that turns the shaft round. When the shaft turns round, the chain is wound up. The sacks of corn are brought up from the ground floor in this way.