essay-vs-nonfiction

Today's question comes from Naomi in Beit Shemesh. Thanks for emailing me. Naomi asks, what is the difference between essay writing and writing a non-fiction flash piece?