A lanyard is a rope or cord, typically worn around the neck, shoulder, or wrist to carry an object. Usually it is used where there is a risk of losing the object or to ensure that it is visible at all times.