The correct option is B By adding sugar
The sugar in jams and jellies helps the gel to form and increases the flavor. When large amounts of sugar are used in a recipe, the sugar also acts as a preservative by inhibiting microbial activity and absorbs all the unnecessary moisture present in it.