How does a sewing machine sew?

It doesn't just knit together otherwise it would be called a knitting machine. Look at this website. It actually explains. http://home.howstuffworks.com/sewing-machine1.htm