SO2 is not an ionic compound because they are two nonmetals which makes it a covalent bond