Solar energy, a renewable and abundant source of power, has been gaining popularity worldwide due…