ChatGPT, based on a wide range of pre-trained Internet text data, can assist in completing translations and creative writing. This study, however, is an experiment on writing a research paper with the help of ChatGPT. We selected a research topic and used ChatGPT to generate each section of the research paper — title, outline, introduction, literature review, methodology, results, discussion, conclusion, and references — according to the prompts provided. The results reveal that ChatGPT can successfully write an entire paper based on hypothetical data, generating high-quality text with appropriate content and language quickly and efficiently, which saves a significant amount of time and effort. The limitations are also obvious, including the use of outdated studies, inconsistent arguments, irrelevant and illogical explanations of the results, and incredible citations. We suggest integrating ChatGPT into academic writing courses offered at tertiary institutions. Teaching students to effectively use it could be made the core of the instruction. For instance, students may learn to ask questions, give correct and specific prompts, identify mistakes or problems in the generated texts, as well as ensure the texts’ accuracy, consistency, and credibility, and be knowledgeable about the topic selected for the paper. Students should learn to follow academic conventions and avoid plagiarism.