What is inside jelly beans?

You can learn about the delicious jelly beans: what are made of? Why is posible the gelatin and its state?