A genetic mutation. It's known as malformation. It can be caused by a trisomy in one of the alleles, or an affected gene.
Carrot classification:
Family: Apiaceae
Genus: Daucus
Species: D. carota
Subspecies: D. c. subsp. sativus
It is made of primarily water but also gives us nutrients like beta-carotene, alpha Carotene, and phytochemicals.