A mad scientist is generally a stock character of popular fiction, more specifically Science Fiction, either villainous, benign or neutral. Whether insane, eccentric, or simply bumbling, mad scientists are often working with fictional technology in order to forward their schemes. Alternatively, they fail to see the evil that will ensue from the hubris of “playing god”. Not all mad scientists are evil or villains. Some are protagonists (or at least positive forces), such as Dexter in the animated series Dexter's Laboratory. Occasionally there are self parodies of mad scientists making fun of the stereotype.
See more at Wikipedia.org...