Onion is one of the most widely consumed vegetables. There are many cultivars, which are grouped according to skin color as yellow, white or red. Onions can also be classified as sweet or non-sweet. Their importance in cooking comes from their typical taste and flavour. The sugars, pyruvic acid accumulation and transcript level of some transcription factors involved in the biosynthesis of high sugars and pyruvic acid was analyzed at different stages of bulb onion (Allium cepa) growing under light and dark condition using High Performance Liquid Chromatography (HPLC) and Quantitative real time PCR. A genetic map and cultivar lines 36101and 36122 were used to identify transcription factors controlling pungency and sugar. We compared 2 different lines for low pungency and high sugars during water and photoperiod stress, which showed significant positive phenotypic and genetic correlations. These results could be presumably used as useful information to obtain onion varieties rich in sugars.