Vertical integration refers to when a firm controls production, distribution, and sales under one entity, allowing them to retain all profits. The key advantages are lower transaction costs and quality control, while disadvantages include less flexibility and barriers to market entry. Horizontal integration expands a company within the same industry, such as through acquisitions, providing economies of scale, diversity, and reduced competition, but less flexibility.