Grocery stores use technology and data science to optimize what products they stock on shelves. They analyze purchase data and customer preferences to determine what customers are likely to buy. Stores then work with suppliers to ensure the most popular products are available for customers to easily fill their baskets.