What is a time signature in music?

The time signature in music represents the number of notes in each bar. The time signature is noted at the start of a composition as is represented as two stacked numbers. For example the common time signature 4/4 indicates each bar will contain four quarter note beats.