Rhythm describes how the notes of the melody and any harmony exist across time. The same sequence of notes will become a different tune when the rhythm changes.