Disclosed are imidazole compounds represented by general formula (I). Examples of the compounds of general formula (I) include 10a-(4-chlorophenyl)-1-(2-pyridin-2-yl-acetyl)-2,3,10,10a-tetrahydro-1H-imidazol[1,2-b]isoquinolin-5-one and 9a-(4-chlorophenyl)-1-(furan-3-carbonyl)-8-oxy-2,3,9,9a-tetrahydro-1H-1,3a,8-triaza-cyclopenta[b]naphthalene-4-one. Also disclosed is the use of the compounds of formula (I) for treating respiratory syncytial virus (RSV).