The name of "piyaz" derives from old Iranian word of "pidāz" for onion, later on this name was adopted for salad or mezes made with onion.
The name "piyaz" is connected to the ancient Iranian word "pidāz," both of which pertain to onions. This term eventually evolved into a description for salads or mezes featuring onions.