Is the word "school" used in the same way in the following two sentences?

The whole school turned out for the game.

He didn't miss a single day of school.
different meanings