The present invention relates to novel quinoline compounds of formula (I), and their pharmaceutically acceptable salts and process for their preparation. The compounds of formula (I) are useful in the treatment of various disorders that are related to 5-HT