Pepsi does have a root beer and it’s called Mug Root Beer.
The mug is a somewhat well-known root beer and is very similar to Barq’s root beer pr Caffeine-free sodas.
Pepsi is also partnered with the root beer brand A&W Root Beer, and Belfast Root Beer.
Pepsi produces and distributes A&W Root Beer and Belfast Root Beer. Moreover, these two are my favorite root beer brands.