How is glass made out of sand?

Don’t you think you would see the sand if the glass was made of it? Or do they melt the sand to a point where its see through or something? i dont know someone please explain it to me!