Write a short note on octet rule with example

Atoms try to get 8 electrons in their outermost shell (inert gas structure) by combining with other atoms. In order to get 8 outer electrons, atoms may lose to, gain from or share electrons with other atoms.