The octet rule states that atoms tend to form molecules in such a way that they reach an octet in the valence shell and reach a noble gas configuration. The octet rule applies to almost all compounds made up of second period elements