Question: why 7 notes in a scale?
Answer: So, seven tones comprising diatonic scale suffice to expose an interval quantitively (i. e. by the number of semitones) equal to any interval found in the chromatic scale.