Understanding why we always have room for dessert could lead to new treatments for obesity, researchers have revealed.