Gilbert N. Lewis came up with a way to show the valence electrons in an atom using diagrams. This helps us understand chemical bonding better. He used dots to show the valence electrons and lines to show bonds between them. Here's an example of carbon, with its valence electrons shown using Lewis dot structure.
Examples
1) https://airsoftc3.com/...is-Structure-of-NaCl