Whether you intentionally or inadvertently use someone else's words and thoughts, the outcome is that another author's ideas emerge as your own. In this sentence, the word inadvertently means:
Aby writing
Bby accident
Cby plagiarizing
Dby summarizing
Aby writing
Bby accident
Cby plagiarizing
Dby summarizing