Tent peg
A tent peg (or tent stake) is a spike, usually with a hook or hole on the top end, typically made from wood, metal, plastic, or composite material, pushed or driven into the ground for holding a tent to the ground, either directly by attaching to the tent's material, or by connecting to ropes attached to the tent. Traditionally, a tent peg is improvised from a section of a small tree branch, if possible with a small side branch cut off to leave a hook, driven into the ground narrower end first.
Tent peg use
A tent will typically be pegged to the ground by a combination of both direct attachment to the tent's material and via ropes.
Tent pegs are used to help maintain the tent's shape, and to hold the tent in place against wind.
Tent pegs are preferably pushed into the ground by hand. However, hard ground, or bigger tent pegs, will require a tent peg mallet to drive them into the ground.
A tent peg provides the greatest holding ability when it is inserted into the ground so that the point of attachment of the rope is at ground level. This minimises the rope's ability to apply leverage to the tent peg, which can loosen or pull the tent peg from the ground.