A comparison between two unlike things, such as the night and piece of coal, using words such as like or as, is a simile. In this case, the simile is used to show the reader how dark the night is. Although the statement may begin to create imagery (a mental picture for the reader), imagery usually involves more descriptive language.