Does word "scene" have the same meaning in the following two sentences?

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

The play is divided into three acts, and in total twenty-five scenes.
the same meaning