Moz and AHREFs tools do not do the same things. So, each is better at what it does.
Most people will tell you to use AHREFs for backlink data because they have the largest, freshest, and most accurate link data.
Moz, however, has some great local SEO tools and onsite content optimization tools.