Comparative analysis is a method of comparing two or more literary works to highlight their similarities and differences in themes, styles, structures, and characterizations. This technique allows readers to gain a deeper understanding of each work and the contexts in which they were created, enhancing their overall comprehension of literature and its many layers.