In the gastrointestinal and respiratory tract , movement due to peristalsis or cilia helps remove infectious agents . In the gastrointestinal and respiratory tract , movement due to peristalsis or cilia helps removing infectious agents .