GIMP
Start with GIMP for layered retouching and composites you want to keep on your Mac. Recent versions let you go back and adjust filters without permanently applying them to the layer. The project offers separate downloads for Intel and Apple Silicon Macs, so choose the one that matches your machine.
More about GIMP