What consumes when work is done

potential energy.