How does a sewing machine work?

I’ve always wondered what goes on inside a sewing machine, and now I can’t stop watching this animation. Admittedly, I’m simpleminded, but still. [CRAFT]