Warning
If the battery is dented, punctured, swollen, or otherwise damaged, stop! Reinstall the display assembly and replace the whole unit.
Do not reuse or reinstall a loose battery or a battery that has been removed. Replace it with a new battery. If a battery is unavailable, replace the whole unit.
For more information regarding battery safety, refer to Apple Support articles: