Juxtaposition is an act or instance of placing two elements close together or side by side. This is often done in order to compare/contrast the two, to show similarities or differences, etc.
In painting and photography, the juxtaposition of colours, shapes, etc, is used to create contrast, while the position of particular kinds of objects one upon the other or different kinds of characters in proximity to one another is intended to evoke meaning.