What does a rampart do?

Can you answer this question?