Salts consist of electrically charged compounds (ions), neutralizing each other.
The constituents of salts may be electrically charged atoms or molecules. Ionic interactions between the ions are responsible for the formation of cristalls.