Another way to think about it is that the net charge of a system is a measure of the total number of positive charges minus the total number of negative charges in the system. If no charges are added to or removed from the system, then the net charge will not change.
This conservation law is important in many areas of physics and chemistry, such as electromagnetism and electrochemistry. For example, in an electrochemical cell, the net charge of the system is zero, even though there are different numbers of positive and negative charges in the different half-cells.