It has very wide spectre of meanings and emotions.
"wow", "I understand you", "yep", "amazing", "disgusting", etc. as meanings.
It is used more often with negative emotions: sorrow, distrust, compassion, disappointment, etc. But also can be used with astonishment, dreaminess. It is hard to remember all cases.