A microscopic understanding of epitaxial growth is important in order to obtain atomically controlled heterostructures of semiconductors. A quantum chemical approach is useful in the investigation of elementary chemical reaction processes. We have analyzed gas-phase reactions in the metalorganic chemical vapor deposition (MOCVD) of compound semiconductors, using ab initio molecular orbital calculations. In this review, the reactions of group-III source molecules and hydrogen (both atomic and molecular) are discussed. The calculated results indicate that hydrogen plays an important role in controlling the quality of the epitaxial layers. It is well known that semiconductor surfaces exhibit many kinds of reconstruction depending on the growth conditions. The electronic state and the detailed structure of the reconstructed surfaces should be taken into account in order to understand the surface reaction mechanisms. A surface As dimer which appears in the molecular beam epitaxy (MBE) of GaAs (001) is analyzed based on a cluster model. The first quantum chemical study of GaAs (001)-(2×4)β1 reconstruction is also described.