How is jazz music similar to the music of the slaves?

The music of the slaves is called blues. The rhythm patterns of jazz is similar to the rhythm patterns of the blues.