A spear is a weapon used in Antiquity and the Middle Ages. It is meant to primarily stab. Some spears can also slash. Some kinds of light weight spears were also meant to be thrown.
A lance is a special spear used from horseback. Knights often used it during medieval times. A pike is a very big spear for infantry to fight horsemen.