In order to make ZnO-based dye-sensitized solar cells that act as photo-sensitizers for Terminalia catappa fruit, the metal oxide semiconductor of undoped and Ni-doped ZnO nanoparticles was synthesized using the solvothermal method. Ethanol was used as the solvent. XRD, FE-SEM, FTIR, UV-visible, and EIS structural, optical, and electrical characterizations were used to analyze these produced nanoparticles. Additionally, a solar simulator with one sun AM 1.5G (100 mW/cm2) light supplied by a 300 W xenon lamp was used to analyze the J-V characterisation of solar cell parameters. To the best of my understanding, doping Ni increases efficiency This result also shows that the corresponding efficiency of a solar cell application can be increased by incorporating Ni into ZnO nanoparticles in a solution.