Why does sodium polyacrylate absorb water?

Sodium Polyacrylate is a polymer that naturally attracts water. The structures are called hydrogen bonding. They attract both hydrogen and oxygen in the water. It is the absorbent material in diapers.