The berry of the miracle fruit plant is used as medicine.Miracle fruit contains a chemical that affects taste receptors in the tongue. This chemical makes the tongue register sour tastes as sweet tastes. The chemical itself has no taste at all.