What is Octet Rule explain with example

Octet Rule:

The tendency of atoms to have 8 electrons in their outermost shell is known as the Octet Rule or Rule of Eight.