The meaning of the term you provided, "the placement of things beside each other to compare them or to create an effect," is juxtaposition. Juxtaposition is a literary device commonly used in writing and art to highlight contrasts or create a specific impact.