A hairpin is a small tool used to hold hair in place, typically consisting of two parallel prongs with a U-shaped bend at one end.