The full name of the movie is “2001: A Space Odyssey”. It’s based on a novel by the great Arthur C. Clarke.
"Based on" is a little imprecise. IIRC, the two were developed simultaneously and cooperatively, until Kubrick deviated at the end in some ways that made Clarke mad.
That's a shame. The book's ending is one of the most memorable things I ever read.