But wait there's more! Not only does this function harmonically, it also functions melodically. The added scale tone makes it so that a chord tone ends up on every down beat when playing in eighth notes. I've actually found that it doesn't matter where you add that extra scale note, you can do it all the way up and down the piano anywhere you like as long as you get chord tones where you want them.
However, this person has compiled a thorough overview of the underpinnings [1], provided you can ignore the diminished quality of the first few videos.
This foray into jazz actually chewed up a ton of my quarantine free time, for better or worse :)
[0] - https://www.youtube.com/watch?v=F8JJncSUdUU [1] - https://www.youtube.com/watch?v=JdtOj-qz8AM&list=PLjtr-OF8R4...
If you want videos, there's also this playlist from the billgrahammusic youtube channel: https://www.youtube.com/watch?v=KQgBnh9vUgI&list=PLxxPdgDHUa....