The music for “Smile” was written by Charlie Chaplin and used in his 1936 film Modern Times. Lyrics and the title were added in 1954. The first version with lyrics was recorded by Nat King Cole. It has been covered by many artists since then.
One of them was Eric Clapton who I saw perform it in 1974.
The Jimmy Durante version is used in the 2019 film Joker. In the film, Modern Times is also shown at a benefit.