Over the last couple of years, there's been a trend with certain phone companies to throw as many cameras onto their devices as possible. As it's become more common for phones to ship with two, three, or even four cameras, there's something of an expectation that phones have to have multiple camera sensors to be any good.
Spoiler alert — this isn't true.
Let's look at the Galaxy A53. It has a 64MP primary camera, 12MP ultra-wide, 5MP macro, and a 5MP portrait camera. Compared to the smaller 12MP cameras on the Pixel 6a, one would assume that the A53 takes better photos, but that's not the case.
Having those extra camera sensors can be a lot of fun, but only if they're high-quality. Far too often, we see companies throw in a lot of extra cameras on their phones only to have these secondary lenses not be very good. But, of course, the primary camera sensor is always the most important, so that's the one you want to pay attention to the most.
On a similar note, higher megapixels (referred to as MP) don't always mean you're getting a better camera. As mentioned above, the 64MP camera on the A53 usually takes photos that aren't as good as those taken from the 12MP primary camera found on the Pixel 6a.
There are so many other factors that come into play with phone cameras, so don't let the megapixel count be your only factor for judging them when you're out shopping. Read reviews, look at camera samples, and you'll have a much better understanding of what kind of camera you're dealing with.