Original: Ketchup is the dominant term in American English and Canadian English; tomato sauce is not a synonym for ketchup in either, where it refers to pasta sauce.
Simplified: Ketchup is a kind of thick, liquid sauce. It is made from tomatoes, so it is sometimes called tomato sauce.