What does Beating the gun mean?

Beating the gun meaning in Sports Dictionary

When one (or even more) competitor will be taking off from their beginning place prior to the firearm has-been fired. May result in disqualification. (sport: Track Events - basic Terms)