Yes, the 3DS will play DS games.
Straight from the Nintendo FAQ:
Can I still play my old games?
Yes! You can play all your Nintendo 3DS/2DS games. You can also play nearly all Nintendo DS and Nintendo DSi titles. Plus, many upcoming games will play best on the new system.