In order to convert sunlight into electricity or other forms of energy as efficiently as possible, the very first step…