The Nintendo DS connects to the internet through Nintendo's Wi-Fi Connection service. You don't plug the handheld into your computer — instead you need a wireless access point it can see.
If your router isn't compatible, Nintendo sold a USB Wi-Fi connector in a retail package that does the job; those bundles were stocked by major retailers. In the DS settings menu you can search for an access point, test the connection, and go from there.
One important note for anyone trying this today: Nintendo shut the original Wi-Fi Connection service down years ago, so most DS titles can no longer reach official online play.
Angry Birds Star Wars: 3-star walkthroughs for Death Star (Levels 2-1 to 2-20)
World of Warcraft: Legion Artifact Weapons — Legendary Gear That Grows With You
Love & Death™: Bitten™ — Complete Walkthrough, Guide & Tips
Assassin’s Creed IV: Black Flag – Naval Contracts Guide
Diablo III: Reaper of Souls - Jesse McCree on Adventure Mode and Loot