jux·ta·po·si·tion noun
the act or an instance of placing two or more things side by side often to compare or contrast or to create an interesting effect
Our English professor made us do a project that compare and contrast juxtapositions.
https://www.merriam-webster.com/dictionary/juxtaposition