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
- Acknowledging the authorship of the ideas of other authors or the information you use
- By properly identifying the sources of information you use. Standard citation styles allow you to identify and locate the documents you manage.