Cockroaches are members of the order Blattodea, which includes the termites, a group of insects once thought to be separate from cockroaches. Currently, 4,600 species and over 460 genera are described worldwide. The name "cockroach" comes from the Spanish word for cockroach, cucaracha, transformed by 1620s English folk etymology into "cock" and "roach". The scientific name derives from the Latin blatta, "an insect that shuns the light", which in classical Latin was applied not only to cockroaches, but also to mantids.

Historically, the name Blattaria was used largely interchangeably with the name Blattodea, but whilst the former name was used to refer to 'true' cockroaches exclusively, the latter also includes the termites. The current catalogue of world cockroach species uses the name Blattodea for the group. Another name, Blattoptera, is also sometimes used. The earliest cockroach-like fossils ("blattopterans" or "roachids") are from the Carboniferous period 320 million years ago, as are fossil roachoid nymphs.

More Info: en.wikipedia.org