The relation between ecommerce, SEO and SEM

Every brand’s needs are different and require a unique combination of SEO, SEM, and ecommerce. Marketers assess a brand’s goals and capabilities to determine what programs are necessary but how will they achieve goals and what data is required to achieve these goals?