A remote weapon system or station, (RWS) is a remotely controlled weapon station for light and medium caliber weapons which can be installed on any type of vehicle or other platforms (land and sea-based).
FN Herstal Weapons
Instead of using weapons long distance, tank units use them from just a few feet away so they don't have to expose themselves to enemy fire.
Remote Tank Unit
The United States Marine Corps has developed the first remote weapon system capable of delivering accurate, sustained fire throughout an aircraft's or ship's entire envelope.
Marine Weapon Systems