Synthesis of Complex Organic Molecules (COMs) by ion-neutral reactions: from interstellar space to planetary atmosphere