Effect of ellagic acid on stress resistance in flies. a Effect of ellagic acid on resistance to heat stress in flies. Mean lifespan was calculated by the Kaplan–Meier lifespan analysis in the OASIS2 software. Mean values of individual replicate of control, and two treatments of male and female flies were fed into the GraphPad Prism v.6 software. Data represented as mean lifespan (in hours) following exposure to heat stress in flies, with error bars denoting SD. Data were subjected to two-way ANOVA followed by Bonferroni’s multiple comparisons test. Symbols represented as *p < 0.05, **p < 0.01, and ***p < 0.001. For each treatment and sex along with their respective control, ten vials containing 20 flies/vial were counted. The total number of flies used was 1200. b Effect of ellagic acid on resistance to cold shock in flies. Data represented as mean recovery time of flies (in minutes) following cold shock, with error bars denoting SD. Mean values of individual replicate of control, and two treatments of male and female flies were fed into the GraphPad Prism v.6 software. Data were subjected to two-way ANOVA followed by Bonferroni’s multiple comparisons test. Symbols represented as *p < 0.05 and **p < 0.01. For each treatment and sex along with their respective control, ten vials containing 20 flies/vial were counted. c Effect of ellagic acid on resistance to starvation in flies. Mean lifespan was calculated by the Kaplan–Meier lifespan analysis in the OASIS2 software. Mean values of individual replicate of control, and two treatments of male and female flies were fed into the GraphPad Prism v.6 software. Data represented as mean lifespan (in hours) following exposure to starvation stress in flies, with error bars denoting SD. Data were subjected to two-way ANOVA followed by Bonferroni’s multiple comparisons test. Symbols represented as *p < 0.05, **p < 0.01, and ***p < 0.001. For each treatment and sex along with their respective control, ten vials containing 20 flies/vial were counted. The total number of flies used was 1200. d Effect of ellagic acid on resistance to oxidative stress in flies. Mean lifespan was calculated by the Kaplan–Meier lifespan analysis in the OASIS2 software. Mean values of individual replicate of control, and two treatments of male and female flies were fed into the GraphPad Prism v.6 software. Data represented as mean lifespan (in hours) following exposure to oxidative stress in flies, with error bars denoting SD. Data were subjected to two-way ANOVA followed by Dunnett’s multiple comparisons test. Symbols represented as **p < 0.01 and ****p < 0.0001. For each treatment and sex along with their respective control, ten vials containing 20 flies/vial were counted. The total number of flies used was 1200