This document summarizes key topics from a chapter on analyzing a company's marketing environment. It discusses the microenvironment which includes actors close to the company like its departments, suppliers, marketing intermediaries, customers, and publics. It also analyzes the macroenvironment external forces such as demographic, economic, natural, technological, political, and cultural environments that affect marketing. These forces create opportunities and threats that companies must respond to in order to build successful relationships with customers.