Correction: "Lucevan le stelle" ("The stars were shining") is the famous tenor aria from Act 3 of Giacomo Puccini's Tosca (1900)—not Gianni Schicchi.
Context: The rogue Mario Cavaradossi awaits execution at dawn; he recalls his lover Tosca and the beauty of the night.
Why the confusion? Both Tosca and Gianni Schicchi are Puccini operas. Gianni Schicchi (1918) is a one-act comedy, the third panel of Il trittico. Tosca is a standalone full-length drama. The aria belongs to the latter.