Plagiarism is the appropriation of others ideas as your own. This can be done on purpose or not. Quoting or paraphrasing someone's work but failing to cite it, even by accident, it considered plagiarism.
If you are ever unsure whether you should cite something you can always ask either your instructor or a librarian but usually when in doubt it is better to cite rather than not.