The recent discovery of microorganisms that produce fuel related hydrocarbon is the other valuable application of this era that replace expensive sugar and starch utilization. The endophytic fungi were reported to produce a variety of medium-chain and highly branched volatile organic compounds (VOCs) that have been highlighted for their potential as fuel alternatives and are collectively termed as myco-diesel. In the present study, endophytic fungal strain i,e; Curvularia lunata was selected and were grown on different glucose enriched medium for the production of hydrocarbons. Extraction of liquid cultures of the fungus revealed the presence of numerous fatty acids and volatile organic compound by GC/MS analysis. The chemical structures of compounds were extracted through ethyl acetate solvent extraction. The results were Glycine, N-(phenylacetyl)-,ethyl ester, 4-(6-Methoxypyridazinyl-3-amino)- 1,2–naphthoquinone, Hexadecanoic acid, 14-methyl-,Methyl ester, etc., The functional groups of compounds were characterized by FT-IR analysis and the results were major peaks with intensity of 3358.21cm-1 (sp C-H stretch, sp2 C-H stretch, alcohol O-H stretch, carboxylic acid O-H stretch, 1o N-H2 stretch,2o N-H stretch), 2944.46cm-1 (Sp3 C-H stretch, aldehyde C-H stretch, carboxylic acid O-H stretch) respectively. All of these findings have implications in energy production and utilization.