Ancient Era Unit which specializes in defeating Mounted Units.
The Spearman is the first melee unit available after the Warrior. It is more powerful than the Warrior, and gets a significant combat bonus against mounted units (Chariot archer, Horsemen and so forth).
The earliest spears were doubtless straight pieces of wood with crudely-sharpened ends; these would quickly break or become dull with service. The spear didn't become a reliable weapon until some early innovator discovered that he could harden the tip by lightly charring it over a fire. Eventually stone tips were employed, then of course metal. Spears are fairly simple weapons to learn, and they can be produced rapidly and cheaply, so they tend to be the backbone of early civilizations' armies.