In conclusion, we have demonstrated a protective role for ATP in fighting infection, and this role is related to NLRP3 inflammasome activation. Here, NLRP3 is linked to infection.