Advantages And Disadvantages Of Using Ai For Writing Tasks: An In-Depth Analysis