It was used in virtually every conflict up until the modern era, where even then it continues on in the form of the bayonet, and is probably the most commonly used weapon in history. As a weapon, it may be wielded with either one hand or two. Along with the axe, knife and club, it is one of the earliest and most important tools developed by early humans.
The spear has been used throughout human history both as a hunting and fishing tool and as a weapon.