>>4005958They're both important. Generally, because there are plenty of exceptions,
sensor size
>larger gets you more dynamic range, better high ISO / lowlight performance, better color, resolution, better options for shallow depth of fieldA "better body" (not necessarily larger sensor)
>better construction & durability, better autofocus system, better specs (fps, video, resolution, etc), more features (dual card slots, extra customization options, etc), better / larger viewfinderA better / different lens
>give you angles you simply otherwise wouldn't have, improve your sharpness, boost your lowlight capabilities, give you more control over depth of field, improve autofocus speed, add weather sealingIt took me a long time to figure out, but once I had my needs / minimum performance level figured out, it was just a question of what combination of cameras and lenses will get me there (and fit my budget / preferences). I have mostly nicer stuff now, but it's more so I can get what I want faster and more reliably than with cheaper gear, not because the look is that significantly better.
I do think APS-C/FF is kinda the sweet spot for being capable of just about anything. I've owned 1", m43, and dmf, but they all felt to limited / niche to recommend personally.