Based on a Carrot picture I've seen before, it's likely the jar is used for the fireflies you see around the village, to be used in the dark forest in order to find some secret path. But since I can't get passed the effing plant stage anymore because SUDDENLY the spacebar mashing decided to stop working, I can't confirm that.