Semiconductors are materials that exhibit unique electric conductive behavior. They fall between an insulator and a conductor. The electrical conductivity…