The combination of charred whole spices like cinnamon, cloves, coriander, and star anise, aromatics (onions, garlic, etc), fish sauce and mix-ins like fresh herbs, lime, jalapenos, sriracha and hoisin sauce all mixed together is what helps give pho it's delicious sweet and savory flavor.