For example, in the case where an InGaZnOX (X>0) film is formed as the semiconductor layer 109 by the ALD method, an In(CH3)3 gas and an O3 gas are sequentially introduced a plurality of times to form an InO2 layer, a Ga(CH3)3 gas and an O3 gas are sequentially introduced a plurality of times to form a GaO layer, and then a Zn(CH3)2 gas and an O3 gas are sequentially introduced a plurality of times to form a ZnO layer. Note that the order of these layers is not limited to this example. A mixed compound layer such as an InGaO2 layer, an InZnO2 layer, a GaInO layer, a ZnInO layer, or a GaZnO layer may be formed using these gases. Note that although an H2O gas that is obtained by bubbling water with an inert gas such as Ar may be used instead of an O3 gas, it is preferable to use an O3 gas, which does not contain H. Instead of an In(CH3)3 gas, an In(C2H5)3 gas or tris(acetylacetonato)indium may be used. Note that tris(acetylacetonato)indium is also referred to as In(acac)3. Instead of a Ga(CH3)3 gas, a Ga(C2H5)3 gas or tris(acetylacetonato)gallium may be used. Note that tris(acetylacetonato)gallium is also referred to as Ga(acac)3. Furthermore, a Zn(CH3)2 gas or zinc acetate may be used. However, the deposition gas is not limited to these.