Given a scientific passage and an answer, generate a question for the given answer.

Passage: Your body's first line of defense is like a castle's moat and walls. It keeps most pathogens out of your body. The first line of defense includes physical, chemical, and biological barriers. Answer: to keep out pathogens
What is the purpose of your body's first line of defense?