Scales starting and ending at a root note are just written that way for ease of explanation and visualization. The "C" is the beginning and the end of the series of tones, but it doesn't have to be that way in a song. You can play the scale beginning on any note, and if the song is in the key of C (in other words, the harmony is in the key of C), then the scale will work just fine.