When do I use domo instead of arigato?


I've observed that sometimes people say something like 'domo' instead of
'arigato'. According to my observation it happens mostly when people don't
really know eachother or in similar situations. Thanks.

