There are many different types of writing samples, ranging from creative writing examples, news article clips, excerpts from academic papers, and sometimes even just an introductory paragraph. A writing example can be content on any topic in any genre; generally, the only limitations are that the excerpt is short enough to be considered an example. On the other hand, a content sample isn't the place to try to explain complex ideas or digress on issues irrelevant to the gig.