If two things are out of sync, they do not match or do not happen together as they should. If two things are in sync, they match or happen together as they should. [informal]
When demand and supply are out of sync, you either increase the supply or adjust the price.
They swayed back and forth, more or less in sync with the music.
[Also + with]