Amazon poses a threat to brick-and-mortar stores that are having trouble getting shoppers to visit their stores. For Walmart, that means fighting back against Amazon by beefing up its digital portfolio. The chain has been on an acquisition spree lately, snapping up Jet.com, Bonobos, Moosejaw, ShoeBuy and ModCloth, and it is now reportedly in talks to acquire Birchbox. Here’s what you need to know about Walmart’s recent e-commerce acquisitions.

The key numbers:

Walmart’s e-commerce sales have increased 63 percent in the first three months of this year, compared to 29 percent last quarter. (Walmart doesn’t disclose overall e-commerce sales in its quarterly report.)

At $3.3 billion, Walmart’s purchase of Jet.com could be the most expensive e-commerce acquisition in history.

On average, e-commerce preference for Walmart has dropped by 2 percent year over year from 2011 to 2016, compared to around 15 percent year-over-year increase for Amazon, according to research firm Prosper.

On average, only 10 percent of Walmart consumers shop online, according to a survey of 2,750 U.S. consumers ages 18-74 by marketing consultancy Magid Associates.

Amazon agreed to acquire Whole Foods for $13.7 billion, with $13.4 billion in cash and the remainder in debt.

What Walmart is buying
Under the leadership of Marc Lore, head of e-commerce for Walmart and former CEO of Jet.com, the retail giant has made bold moves in snapping up e-commerce startups across footwear, men’s fashion and potentially subscription boxes. Jim Cusson, president of retail branding agency Theory House, said that through those acquisitions, Walmart is buying a new consumer base — upper-middle-class people who normally wouldn’t shop at Walmart — and these new relationships would bring higher margins.

Meanwhile, Walmart is acquiring knowledge, as each new e-commerce acquisition brings new talent on board with startup mentality and bravado that can accelerate learning and decision-making. “I’d argue that Lore is making decisions with more speed and decisiveness than your ‘homegrown’ Walmart executive would traditionally make,” said Cusson.

Wells Davis, chief strategy officer for agency David&Goliath, also said Wall Street rewards Walmart’s strategy, as the company sees an immediate return on those investments. “It would be very expensive for Walmart if it just invests in its in-store experiences, and it would take a long time for the company to see the results,” said Davis.

But brick-and-mortar stores are still Walmart’s major focus. As Doug McMillon, CEO for Walmart, described in the earnings call in May, while those acquisitions have received a lot of attention, the company’s plan in e-commerce is not to buy its way to success. “The majority of our growth is and will be organic,” he said.

Would e-commerce acquisitions help Walmart compete with Amazon?
Yes, at least from a search perspective. Most retail purchases — even if they take place in store — started with online searches that Amazon typically owns. So acquiring more e-commerce retailers is a game of trying to win consumers’ online searches, said Cusson.

“We know that Amazon is currently capturing much of that traffic, so if Walmart can introduce a great number of opportunities to be found, it will help in its battle with Amazon,” he said.

Davis also believes that e-commerce startups can help Walmart become a more upscale brand and offer shoppers more customized experiences.

But it’s still too early to tell how successful Walmart can be with those acquisitions. After all, driving the lowest price is still a core value of Walmart, but that is not the foundation of the e-commerce brands Walmart has purchased. And company culture could be a big challenge. For instance, Walmart reportedly doesn’t allow in-office drinking, so Jet.com had to move its regular Thursday evening happy hour out of the office.

“Some of those brands are favored by niche consumers. But when Walmart puts its hand on them, it bends their customer loyalty,” said Cusson. “There is a real possibility that some of these acquisitions may disappear within five years. But with no risk comes no reward.”