Sugar, in general, is of four types, Sucrose, Fructose (Fruit Sugar), Glucose and Lactose (Dairy Sugar), out of which Table sugar mostly consists of sucrose.
Then there are various kinds of table sugar as well. The most common type is the sugarcane sugar, but there are other varieties too, such as beet sugar, brown sugar, etc.