Complex sentence: Various modern military groups also use attack dogs, primarily for sentry purposes, the dogs are trained to defend their post and attack any possible intruders.
Split into simpler sentences: Various modern military groups also use attack dogs, primarily for sentry purposes. The dogs are trained to defend their post and attack any possible intruders.