A
sentry gun is a
gun that is automatically aimed and fired at targets that are detected by sensors. The earliest functioning military sentry guns were the
close-in weapon systems point-defense weapons for detecting and destroying short range incoming missiles and enemy aircraft first used exclusively on
naval assets, and now also as land-based defences.