The easiest way to learn about Dungeons & Dragons is to buy the 3.5 edition sourcebooks - the Player's Handbook, the Dungeon Master's Guide, and the Monster Manual. The d20 rule system that D&D uses can also be found online in text format at http://www.wizards.com/default.asp?x=d20/article/srd35.