A method of producing a semiconductor device in which a film is formed on a substrate
by a chemical vapor deposition (CVD) process, the method comprising purifying a
source gas for a film to be formed by selectively removing at least one of components
contained in the source gas, which does not pertain to reactions for the deposition
of the film, based on the difference in molecular size between the component to
be removed and other components.