The primary function of a battery holder is to keep cells fixed in place safely and securely while conveying power from the batteries to the device in question. External connections on battery holders are most often made by contacts either with pins, surface mount feet, soldered lugs or via a set of wire leads.