Infix notation is human readable ,prefix and postfix notation is for the machine to parse. Prefix and postfix are unambiguous as it doesn’t required precedence rules.
Idea behind to use prefix,infix and postfix by compiler is to provide advantages of different parsing option for machine and evaluate the expression.