Help or cheating?
The line is simple to state: work submitted as yours should show your own understanding. Getting an explanation is help. Submitting text an AI wrote as if you wrote it is not.
Rules differ between schools, subjects and even assignments, so check what your teacher allows. When AI use is permitted, say how you used it.
There is also a selfish reason for honesty. Marks are a signal of what you can do. If the signal is false, the gap shows up later in an exam, an interview or a job.
Which use of AI is most clearly acceptable in schoolwork?
Choose the answer you think is right.