There is neither a total ban on artificial intelligence nor blanket permission. The limits are set by the assignment brief, the teacher and University rules.
May be permitted
Brainstorming, asking for explanations of a difficult topic, outlining structure, checking language — if the assignment allows it.
Must be disclosed
If a tool produced text, code, a translation or a structure, briefly state which tool was used and at which stage.
Not permitted
Submitting fully generated work under your name; use in exams where it is prohibited; citing non-existent sources; presenting unverified AI output as fact.
The student remains responsible for the content of the work and the accuracy of the information.