A sweet gel from the endocarp of cocoa pods and the concentrated juice of the cocoa fruit pulp can replace sugar in a chocolate recipe, reducing the environmental impact associated with its production and improving the nutritional value of chocolate.