Why is silicon used for making solar cells?

Si is among the most abundant materials on Earth and widely used for processors as well. There are very few other materials that can even theoretically compete with that. Germanium and GaAs won't be ever able to. Organic solar cells were promising due to low fabrication cost (just ask bacteria or whatever to make your solar cells), but failed. Now perovskites and especially perovskite-silicon tandems are the hot topic in research.

Back in the day, thin film technologies like CdTe, CIGS etc also looked promising and started gaining meaningful market share - the highest was about 13% or so, and many believed they will reach 20%+ of the market as they almost caught silicon efficiency. But then Chinese entered the market and killed other tech by dramatically lowering Si prices.

GaAs and closely related other III-V technology is used where mass or area efficiency matters the most as this tech offers the highest efficiency - therefore, it is used for satellites and other space craft. However, ISS still uses silicon (even though GaAs had higher efficiency even back then). From Tristan's comment, they will be upgrading to the state of the art GaAs tandems fairly soon - the tandems here will be GaInP/GaAs/Ge. This tandem is the most typical, but various other configurations are possible. Such tandems are usually (but not always) lattice matched and combine Ga/In with N/P/As in various ratios to achieve variable bandgap.

Now more specifically for the mentioned technologies in the question:

  1. GaAs is crazy expensive. A single wafer costs several hundred euros, while even floatzone silicon wafer costs tens, and typical solar cells are made of dirt cheap silicon, costing far below 1€ for the wafer (unprocessed wafer costs). Add tons of Si tech from CPU industry. Getting tools that can do magic on silicon is easy and cheap, tooling for III-V is expensive and much more problematic, so processing again favors Si.
  2. Germanium alone isn't a good solar cell material - too low bandgap. But great for tandems. Sure, it will collect tons of photons, but all photon energy beyond the bandgap will get wasted and you won't end up with a lot of energy. Unless you try (and eventually fail) to make viable downconverters to split the high energy photons in 2, each with half the energy. Si is actually pretty good regarding bandgap, only ~1% (absolute) below the maximum.
  3. Indirect bandgap just means that your absorption coefficient severely drops near the bandgap. This has a single consequence optically: you require a thicker layer of absorber to get the same absorption. But, as silicon is cheap, it isn't much of a problem. As it turns out, move to say 100 μm wafers was postponed due to wafer handling more than the efficiency - it turns out you can break them easily unlike the robust 180 μm ones. Plus, even as thin as 1 μm of silicon would still absorb surprisingly large amount of light if it gets heavily scattered on each interface.

On the topic of germanium versus silicon, a smaller band gap is not a good thing in a solar cell.

The maximum theoretical efficiency of a single-junction solar cell in natural, unfocused sunlight is called the Shockley-Queisser limit, and is a function of band gap. It turns out that this limit has a maximum at a band gap of $1.34~\rm eV$, which makes gallium arsenide ($1.42~\rm eV$) excellent and silicon ($1.1~\rm eV$) still pretty good. Germanium is far enough away that its efficiency is much lower.


Raw material of germanium is about 100 to 1000 times more expensive than silicon.

Furthermore, the science and engineering of silicon is well established.

Also, you don't actually use silicon to make the solar cells, one uses doped silicon p-n junctions to make the cell, and if you want to use solar panel for powering things up, you need some voltage difference.