In William Shakespeare's Romeo and Juliet, the word "ho" functions as an interjection used to attract someone's attention or to express surprise, excitement, or a hail. It was a common vocalization in Early Modern English, similar to "hey" or "halloo" today.
This usage reflects the conversational language of Shakespeare's time. While archaic in modern formal English, "ho" survives in certain colloquial or nautical contexts (e.g., "Land ho!").