A solar cell l is a semiconductor with energy band gaps that directly absorb the solar spectrum. There are various types of solar cells, but the most common is fabricated from silicon for its affordable prices and large quantities. However, some types are rare, e.g., those made for rare earth, which is expensive and has high production cost.