Hi, Fangxiao. Let me explain in this way. Assume that in the gain medium, there are more electrons in the low energy state, and this is true most of the time. Then we provide some illumination on the medium. Although stimulated emission will give out photons, more photons are absorbed by the lower energy electrons. So the total light intensity is decreased. That does not make sense because we need a large amplify of the incident light to get a laser. In other words, it is mandatory for a laser to achieve population inversion.
Gain medium is that the material which has a suitable energy level scheme for population inversion. Laser gets amplified within the material. So we call it "gain". So if any new material with such a scheme, and the upper level lifetime for electrons is comparable to the lower level lifetime, it may be suitable for laser. And usually, in semiconductor lasers, people just use several layers of different depositions to form the gain layer and resonant cavity layer.