Romantic irony is a literary technique where the author or narrator presents events in a way that is different from what the characters understand, creating a sense of irony for the reader. It often involves contrasting romantic ideals with the reality of a situation, highlighting the discrepancy between expectation and outcome. This technique is commonly found in works of Romantic literature.