Q: do the chords and rhythm really just provide context to prop up the melody into the listener's memory
A: that's one way to look at it. sometimes chords and rhythm can be used to support other things, like a scene, or a new shampoo product