GNU project was started in 1983 for developing a complete Unix-like operating system, including software development tools and user application programs, entirely of free software.
By the release of the first version of the Linux kernel, the GNU project had produced all the necessary components of this system except the kernel.
Torvalds and other early Linux-kernel developers adapted their kernel to work with the GNU components and user space programs to create a fully functional operating system.