Even though all things used in glass is opaque how is glass transparent?

all the substances that are used in the manufacture of glass is opaque.then how is glass transparent?