Xenophagy targets bacterial pathogens for destruction, while mitophagy aids red blood cell maturation.