Plagiarism is substantially copying other people's works, giving them as one's own.
Although plagiarism can sometimes be unconsciously incurred, its practice undermines academic honesty.
Plagiarism is incurred
Citing the works properly prevents plagiarism. For instance using small fragments of works of others for research purposes is allowed by law.
However, and even if it is not plagiarism, these uses must be done ethically and this means that the authorship and source of the work used must be cited.
Plagiarism is prevented in two ways