In the Battlefield series
Within the Battlefield series, there are several variations of bunny hopping depending on the game.
The exact purpose and benefits have evolved as EA has released patches and fixes for this tactic. A player could come around a corner, and, coming across an enemy, jump in an unpredictable direction while firing their weapon. Combining this with the far range a player could throw a C4 charge and the splash damage of the grenade launcher, the tactic gave huge advantages to the Special Forces and Assault classes. It was eventually seen as an unsporting and unfair tactic and also a kickable/bannable offence on many servers. This technique was eventually abolished with a game patch.
A similarly unsporting tactic was used with the Support class, with its light machine gun, which is meant to be very powerful, but with the drawback that it is very inaccurate unless the player goes prone. This drawback could be negated by "dolphin diving", in which the player goes prone in mid-air, in order to gain the accuracy advantage of being prone. These techniques thus caused large balancing issues.
Due to the huge balancing issues the tactics caused EA has made attempts to reduce the use of this in Battlefield 2 and Battlefield 2142. With each jump a portion of the player's sprint stamina is reduced and a player is not able to fire while jumping. However, it still remains an effective way to evade fire, although believed to be unrealistic.