It depends on which edition of D&D you're looking at with regards to their origin. :p
Back in 3e D&D, they started out as humans, elves, etc., who had heard Bahamut's call and willingly had themselves transformed via a Ritual of Rebirth into his draconic soldiers during the Dragonfall War...