The fat is broken into tiny droplets so cream won't separate.
Fresh milk straight from the cow is a mix of watery liquid and fat globules. Left to sit, the lighter fat floats up and forms a layer of cream on top. That's why old-fashioned milk bottles had a cream line.
Homogenization forces milk through very small openings at high pressure. The fat globules break into much smaller droplets that stay evenly spread through the milk, so it tastes the same from the first glass to the last and the cream doesn't separate.
It's a different step from pasteurization, which heats milk to kill harmful bacteria. Most milk in stores is both pasteurized and homogenized, but you can find "cream-top" or non-homogenized milk at some dairies and stores; you just shake it before pouring.
Homogenization is also why milk looks so bright white: the many tiny fat droplets scatter light very effectively.