Carbs VS Sugar, which one is vital in achieving results for fat/weight loss?

What will give me the best possible results for fat/weight loss. Excluding healthy carbs like fruit. I've been focusing on cutting out/limiting both from my healthy lifestyle changes. Any apps to assist me with monitoring this also?
Carbs VS Sugar, which one is vital in achieving results for fat/weight loss?
Post Opinion