Yea man, there are 5 parts to growing good marijuana, each part counting for 20%:
Air(Temperature, Humidity, CO2 content)
Light(Spectrum,Photoperiod, Amount of light)
Medium(soil,)
Nutrients
Water(pH, O2 Content)
These elements make up the essential needs of Marijuana.
Cheers :)