Ionic compounds are composed of two ions: a positive and a negative ion. For neutral ionic compounds, these charges cancel out. For example, NaCl is a neutral atom which comes from a strong acid HCl and a strong base NaOH. Because they are both strong, the charges balance out and it comes out as neutral.