Both words can be used as "indeed" so they are synonyms in that meaning. But both of them have many other meanings.