ESA involves the use of charged molecules or nanostructures which attract or repel each other based on their charge. For instance, positively charged molecules will attract negatively charged molecules and vice versa. This property can be exploited to create complex, well-ordered structures by simply mixing the appropriate components under suitable conditions.