A dentist invented cotton candy. The dentist William Morrison was also a confectionary who invented the machine that spun sugar crystals into a thread. This was introduced in 1904 as fairy floss until another dentist reinvented the machine and called it cotton candy.