Objects become electrically charged when gaining or losing electrons.
When an object gains or loses electrons, it becomes electrically charged. If an atom gains electrons, it becomes negatively charged as an anion, while if it loses electrons, it becomes positively charged as a cation.
https://brainly.com/question/38123481