Why might lymph nodes become swollen during an infection?

Questions

Why might lymph nоdes becоme swоllen during аn infection?