Replacing an iPhone battery involves opening the device and handling a built-in lithium-ion battery. Apple recommends having these batteries serviced by Apple or an authorized service provider and notes that trained technicians should perform battery replacement.