An attractive force occurs in all types of molecules whether they are ionic or covalent,​