Based on what I have read I think this is the main difference:
A sidechain is an independent, EVM-compatible blockchain that runs parallel and interacts with the mainnet through bridges. As they use a separate consensus mechanism and are not secured by layer 1, they are not technically considered layer 2.
And if we also introduce the State channels in the comparison? I deduce that they are pay channels. Are they not the same as an atomic swap?