Why is there a gate around cemeteries?

​