Better Ai Path?

amm i wanted to make smooth ai movement
but idk how can i do it
here is a example photo:

is there is anyway to do that? (i know there is, but idk what is the way)