What is the goal of A/B Testing?

Ultimately? To find out which option is best.

A/B testing or split testing is about running experiments and seeing which one will yield the best results for a certain metric. You'll see a lot of this in UX research, marketing, and e-commerce.