What is the purpose of security?

The prominent visibility of security guards in gated communities deters criminals.

The prominent visibility of security guards in gated communities deters criminals.