Too Long; Didn't Read
In Star Trek: The Next Generation, the old-style communicator (which Kirk brandished and inspired things in the real world like flip phones) was banished in the new series, replaced with snappy little “Comm Badges” The Comm Badges, gold communicators which Starfleet personnel wore proudly on their uniforms. They were able to initiate voice recognition to communicate with others or ask the computer a question, in a very similar way to Alexa, Siri or Google Assistant today. While a crew member is on the ship, it leverages a network of sensors to report your location to the computer which relayed it to anyone asking.