Nitrogen in form of soluble nitrite salts
Carbon in form of carbon dioxide
Nitrogen is converted to salts by the action of nitrogen fixation bacteria or can be provided by use of chemical fertilizers or organic fertilizer
carbon dioxide is present in air from where plants influx it from stomata opening in leafs