The lifespan of a capacitor is determined by its construction, operating conditions, and environmental factors, with temperature and voltage being the most significant influences. Proper selection and maintenance can extend a capacitor's life, but exceeding its rated limits can lead to premature failure.