There is a difference in the structure of the molecule. Gelatin is made from collagen.
The structure of collagen consists of three long, helical molecules. When the collagen molecules are heated, the three molecules come apart. This is called gelatin. It can be considered the same for food intake.