Stop in for a cup of coffee

Do the weights and chains just wind a spring? Or are they the actual mechanism assisted by gravity that operates the clock?