The Nintendo DS is a handheld game system released by Nintendo in 2004. The Nintendo DS is Nintendo's fourth handheld system; its predecessor is the Game Boy Advance. It features two 3-inch screens. "DS" stands for "Dual Screen" (though, at its conception, it was intended to stand for "Developer's System"). The system introduces many new features to the Nintendo handheld lineup, including a resistive touchscreen, visible operating system GUI (in the form of the main menu), stereo sound output/audio input via microphone, and wireless connection capabilities. It is also the first Nintendo handheld to support 3D polygonal graphics as opposed to only sprites. As with previous major Nintendo handhelds, the DS and DS Lite provides backwards compatibility for Game Boy Advance games (though this does not work with the Nintendo DSi family), although only limited to single-player experiences as the link cable and wireless adapter support are missing. The charger provided with the First Generation DS is the same connection as the Game Boy Advance SP. It is also the handheld counterpart of the Wii.
The DS is the first Nintendo system to include wireless functions, allowing it to link up with other DS's without any wires or add-ons. This was also the first system Nintendo made to go online (Mario Kart DS being the first Nintendo-made online game), using the Nintendo Wi-Fi Connection. On the original DS and the DS Lite, WPA encrypted networks are not supported.
Before the official name's release, Iris was the first codename for the handheld that would be the successor of the Game Boy Advance. Later, it was called Nitro when the new device created had two screens.
The Nintendo DS (including DS Lite, DSi, and DSi XL) sold 128.90 million units as of 2010, making it Nintendo's best selling video game console and the highest-selling handheld console in the world.  In February of 2011, the DS line was superseded by the Nintendo 3DS.
Since May 20, 2014, online play for many Nintendo DS games has been discontinued due to the closing of the Nintendo Wi-Fi Connection service. The DSi Shop was later discontinued on March 31, 2017, with the gainable points discontinued on September 30, 2016.
The graphical capability of the DS is said to be on par with the Nintendo 64, albeit with enhanced 3D modeling but more pixelated textures due to lack of texture filtering.
Nintendo DS Lite
A newer model named the Nintendo DS Lite was released in 2006 and contains all the features of the original Nintendo DS with some new features such as a significantly brighter screen (with four adjustment options), a lighter weight, and a smaller overall size (having the negative side effect of a regular Game Boy Advance cartridge protruding out from the bottom, similar to playing a Game Boy or Game Boy Color cartridge in the Game Boy Advance). The Nintendo DS Lite sold 89.19 million units as of 2010. It was also the final handheld system to have backwards compatibility with Game Boy Advance games.
Nintendo DSi and DSi XL
A third model, called the Nintendo DSi, was announced on October 2nd, 2008. It is thinner, lighter, and brighter than the Nintendo DS Lite, having removed the Game Boy Advance slot. However, this means that the Nintendo DS Rumble Pak, which was used with titles such as Mario & Luigi: Partners in Time, cannot be used. Two cameras, music playback functions, Wi-Fi, internet browser, larger screens, and a Wii-like channel interface were added. Additionally, the console supports WPA encrypted networks.
The DSi is also able to download games from the Nintendo DSi Shop, which are then stored on an SD Card or in internal memory. It was released in Japan on November 1st, 2008, in North America on April 5th 2009 and in Europe on April 13th, 2009. The DSi's front has a camera lens, and another, smaller lens is located where the mic was positioned on the Lite, allowing for photos to be taken with the DSi. In 2009, Nintendo later released the Nintendo DSi XL, with the "XL" standing for "Extra Large." It is also the heaviest of the four models. 
The stylus is a pencil-like accessory that comes included with the Nintendo DS system. The instrument is often used in conjunction with the touch screen. Usually, the stylus is used to make menu selections, which the player can do by bringing the stylus in contact with their selection on the touch screen. The stylus is often helpful or required in gameplay. For example, New Super Mario Bros., Super Mario 64 DS, and Wario: Master of Disguise require the use of the stylus for minigames such as Wanted! and Roach Smash. The stylus is also necessary to make Mini Mario toys jump, in Mario vs. Donkey Kong 2: March of the Minis.
On the DS, the stylus slot is located on the back, and is inserted downwards, relatively to the DS itself. On the DS Lite and DSi, however, it was relocated to the right side of the system, and is inserted from right to left, relative to the DS Lite or DSi.
The stylus for the DS is noticeably thinner than the stylus for the DS Lite. A DS generally comes with two styluses, and extras can be purchased from stores or special ones from promotions.
The microphone is a feature on the Nintendo DS. On the original DS, it is at the lower left-hand corner, right below the screen. On the DS Lite, it is at the middle in between the two screens. Its function is to accept audio input. Blowing into it will allow events to happen in the game that the player is playing, such as Toad Jump. In other games, the player must say words into the microphone. In Mario & Sonic at the Olympic Games, the player must clap into the mic to gain inspiration from the crowd in Long Jump and Triple Jump. Also, in the game Mario & Luigi: Bowser's Inside Story, the player needs to use the microphone at certain points, such as breathing out fire as Giant Bowser.
This accessory is shaped like a Game Boy Advance game pak, which it plugs into the bottom of the Nintendo DS. It is incompatible with Nintendo DSi or Nintendo 3DS. Some Mario games are compatible with it, such as Mario & Luigi: Partners in Time.
Appearances in the Mario series
The plot of WarioWare: Touched! revolves around Wario obtaining a gaming console resembling a Nintendo DS and using it to market new microgames. Occasionally, a Nintendo DS can be seen in the Pushing Buttons microgame.
Mario Kart DS
Mario & Luigi: Partners in Time
In Mario & Luigi: Partners in Time, Shroobs call Shroob UFOs by using a silver, flip-top communicator. Because the Nintendo DS has the capability to send verbal messages to friends, this may be a reference to the Nintendo DS. Additionally, Professor Elvin Gadd is shown to own a Nintendo DS with an apparent time radar he used to locate Princess Peach at the beginning of the game; he later uses the DS to operate the Hydrogush 4000.
Mario & Luigi: Bowser's Inside Story
In Mario & Luigi: Bowser's Inside Story, the Emoglobins that run the Gauntlet and Cholesteroad are shaped like DS systems. Additionally, Dark Fawful uses a device that resembles a Nintendo DS to track down the Dark Star.
WarioWare: Smooth Moves
Super Paper Mario
Super Paper Mario includes a computer console called the Dining Specializer, which is modeled after the Nintendo DS Lite (and can also be abbreviated "DS"). There is also a two-screened handheld that resembles a Nintendo DS known as a Training Machine, which the fortune teller Merluvlee wanted to use to train her brain (which, in turn, is a reference to the popular DS title, Brain Age, known in British English as "Brain Training").
Mario Strikers Charged
In Mario Strikers Charged, Strikers' Times are shown on the Touch Screen of a Nintendo DS Lite.
Mario Party DS
Super Smash Bros. series
Super Smash Bros. Brawl
One of the names that can appear whenever a player presses the random button when they're naming their custom stage is "DS". Also, a stage based on the PictoChat included in the Nintendo DS makes an appearance in Super Smash Bros. Brawl, complete with its very own DS emblem. Finally, in the Trophy Hoard option, a black Nintendo DS Lite appears in the background with the presents.
Super Smash Bros. for Nintendo 3DS
Donkey Kong Country Returns
Luigi's Mansion: Dark Moon
In Luigi's Mansion: Dark Moon, Luigi uses a device called the Dual Scream to communicate with Professor Elvin Gadd. The Dual Scream is essentially the equivalent of the Game Boy Horror (similar to a Game Boy Color) that Luigi uses in Luigi's Mansion.