Here's a breakdown:
* Same Element: Atoms of the same element have identical electronegativity values. Since there's no difference in their ability to attract electrons, the shared electrons are equally distributed between them. This results in a perfectly balanced bond, hence nonpolar. Examples: H-H (hydrogen gas), O=O (oxygen gas), Cl-Cl (chlorine gas).
* Similar Electronegativity: When two atoms of different elements have very similar electronegativity values, the difference in their ability to attract electrons is negligible. This results in a bond where the shared electrons are almost equally distributed, making the bond effectively nonpolar. Examples: C-H (in methane), C-C (in hydrocarbons).
Important Note: "Very similar" electronegativity is a relative term. There's no strict cut-off point. A difference in electronegativity of less than 0.5 is generally considered to be a nonpolar bond.