Different ingredients: Tempura powder is mainly made of starch, eggs and other seasonings, while flour is made of protein (gluten) and carbohydrates.
Different functions: tempura powder is a kind of wrapped powder, which is used when frying vegetables and seafood; Flour can be used to make noodles or steamed bread, or it can be wrapped on the surface of fried food.