Does the word "scene" have the same definition in the next two sentences?

The most moving scene is the final one, where he realizes he has wasted his whole life.

There were some very erotic scenes in the movie, although it was not classified as pornography.
the same meaning