Rasam is a south Indian clear soup. It's prepared with other spices and ingredients than sambar. Sambar, on the other hand, might be a thin stew/curry, but it has more consistency and it isn't a clear soup. The flavor differentiate them mainly from each other.