Learned it in a grammar school english class. It's pretty much what you need to write a sentence, a story, a book, solving a crime, etc.
who did it and who or what did they do it to
what did they do
when did they do it
where did they do it
why did they do it