A hairpin is a long, slender hair accessory, often U-shaped or V-shaped, used to secure hair in place for styling, especially in updos and buns, differing from bobby pins by generally offering a lighter hold and being more visible, though decorative versions exist.