The present invention relates to novel compounds of formula (I), and their pharmaceutically acceptable salts and compositions containing them. The present invention also relates to a process for the preparation of above compounds of formula (I), and their pharmaceutically acceptable salts. The compounds of formula (I) are useful in the treatment of various disorders that are related to Histamine H3 receptors.