**4. Conclusions**

In the current study, the pure polypyrrole (PPy) and its composites with gum arabic (GA) have been successfully prepared by inverse emulsion polymerization method using toluene and 2-propanol as a solvent media. UV-visible and the FTIR spectroscopy confirmed the formation of PPy/GA composites. The XRD result shows that GA has both natures crystalline and amorphous. When the concentration of GA is less it shows crystalline nature, by increasing the concentration of GA the amorphous nature become dominant. The SEM morphologies demonstrate porous morphology for pure PPy and compact and mesoporous morphology for PPy/GA 1 composites. PPy/GA composites show high thermal stability up to 800 ◦C. The synthesized material shows good electrochemical properties in terms of using cyclic voltammetry, galvanostatic charging–discharging, and EIS tests. PPy has the lowest specific capacitance, energy density, and power density, with values of 168.6 F/g, 33.698 Wh/kg, and 599.37 W/kg respectively. With a 0.125 wt% loading of gum arabic in polypyrrole, these values were enhanced to 368.57 F/g, 73.667 Wh/kg, and 599.609 W/kg, at a current density of 1 A/g.

**Author Contributions:** Conceptualization, R.U., N.K. and M.K.; methodology, R.U., N.K. and M.K.; software, R.U., N.K., M.K. and M.S.K.; validation, R.U., N.K., M.K. and M.S.K.; formal analysis, R.U., N.K. and R.K.; investigation, R.U., N.K., R.K., M.K. and M.S.K.; resources, R.U., R.K., M.S.K. and O.M.A.; writing—original draft preparation, R.U. and N.K.; writing—review and editing, R.K. and O.M.A. All authors have read and agreed to the published version of the manuscript.

**Funding:** This research received no external funding.

**Data Availability Statement:** Not applicable.

**Acknowledgments:** The authors gratefully acknowledge the financial support provided from the Taif University Researchers Supporting Project number TURSP-2020/81, Taif University, Taif, Saudi Arabia. **Conflicts of Interest:** The authors declare no conflict of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, or in the decision to publish the results.
