What’s the difference between syllable and segmentation?

A syllable is any unit of a word that consists of one or more sounds while segmentation is the act of dividing words into units.