What is a Measure in Music?

I music, a measure is the area of the staff between the vertical bars. The measures contain a specific number of beats. The notes within that measure add up to that number of beats. It’s very mathematical really.