Saute onions, garlic, etc until onions are caramelized. Gently stir into already cooked rice.
Ingredients for this particular Onion Pilao: onions, garlic, kalonji (nigella), brown mustard seed
Here it is served with aloo gobi (cauliflower and potatoes)
Kalonji is sometimes erroneously called "black cumin" in English. From left to right, here are kalonji (Nigella sativa), kala jeera (Bunium persicum) and brown mustard (Brassica juncea) seeds. Kalonji is great in Bengali Curry