When a song is made from notes of a particular scale, it is said to be written in the key which has the same notes as that scale. The following song contains notes from the C major scale, so it is said to be in the key of C major.
This song is also in the key of C major. There are hundreds of songs which can be played using only the notes of the C major scale.