The difference between electric and gas powered dirt bikes is the fuel for the engine. Gas powered engines require gas while electric powered dirt bikes use to recharge batteries.
Often gas powered dirt bikes have a longer riding time, but always require more and more gas to be operated. Battery powered of electric dirt bikes have a shorter runtime, but can just simply be recharged for the next ride.