A direct message (DM) is a private conversation between two people, as opposed to a group or a public post. On social networks, DMs are often how strangers make first contact, which is why so many platforms now limit who can send one.
Who can DM you depends on the service. On Instagram, TikTok and X, anybody may be able to message you, into a requests folder, unless you restrict it. On Discord, members of a shared server can message you unless you turn that off. On WhatsApp and Signal, anybody with your phone number can. On workplace tools, anybody in the same organisation can.
For younger users the safest setting is "friends only" or its equivalent, with message requests from anybody else hidden or declined. Remember that a direct message is only as private as the person you send it to: it can be screenshotted and forwarded.
Where Naven stands
On Naven a conversation starts with an email address or @username somebody already has, and arrives as a request the other person can accept or decline. There is no directory to browse, so a stranger cannot find you by name.