Some people confuse sofrito and salsa because they both have tomatoes, onions, garlic, and peppers in common but they both have a purpose in cooking.