Yes. The Nintendo 3DS (all models: original, XL, 2DS, New 3DS, New 3DS XL, New 2DS XL) is backward compatible with nearly all Nintendo DS cartridges.
The 3DS is arguably the best way to play DS games today—sharp screens, sleep mode, and save-state support via homebrew (if you install CFW).