The language J.R.R. Tolkien invented for the Elves and named Quenya is Quenya. Tolkien developed Quenya as one of his carefully constructed languages for the histories and peoples of Middle-earth, drawing especially on the sound and structure of Finnish, as well as influences from Latin and Greek.
Quenya is associated particularly with the High Elves, including the Noldor and Vanyar. In the later history of Middle-earth, it functioned as an elevated, literary, or ceremonial language rather than the everyday speech of most Elves. Sindarin became the more widely spoken Elvish language in much of Beleriand and later Middle-earth.
Tolkien did not invent Quenya merely to decorate his stories. He created its vocabulary, grammar, sound patterns, and historical development as part of a larger linguistic family. The language’s name is related to the Quendi, Tolkien’s term for the Elves. Quenya and Sindarin are therefore related but distinct, not two names for exactly the same language.