The lockstitch uses two threads, an upper and a lower.
To make one stitch, the machine lowers the threaded needle through the cloth into the bobbin area, where a rotating hook (or other hooking mechanism) catches the upper thread at the point just after it goes through the needle.