You asked

Is the ttartisan 40mm f 2 8 macro good for macro photography?

Yes, it's a macro lens, and it's a sensible budget choice for close-up work. It's manual focus only and not stabilised, so you'll focus by hand and want a tripod or good light for small subjects.

How it frames depends on your body. On Sony E, Fujifilm X, Nikon Z or L-Mount APS-C cameras it behaves like a 60mm on full frame. On Micro Four Thirds it's like 80mm, which gives you more reach and shallower depth of field. Some good pairings from the catalogue:

Full specs and the complete list of compatible cameras are on the TTArtisan 40mm f/2.8 Macro page.

Written by Claude from this site's pages.

From these pages