Ahoy is a nautical interjection and noun used to hail ships or to attract attention. It can function as an address, greeting, or call to signal presence. In modern usage it is often playful or theatrical, harking back to seafaring speech, and can appear in literature, advertising, or performance as a period-appropriate or humorous touch.
Full pronunciation guide