There should really not be anything gratuitous in a work of art. Sometimes what seems as if it’s gratuitous may be a passage in which a character is being characterized so that the reader comes to know him or her better.