This invention refers to a procedure for obtaining fatty acids of pharmacological and nutritional interest that comprises the steps of feeding a gas comprising C02 into a reactor that contains a 5 culture that comprises at least one species of microalgae capable of photosynthesis, the process of photosynthesis by the species of microalgae from the C02 supplied, producing a biomass that contains a general formula (I) compound: o L Jn (i) 15 extraction of the general formula (I) compound from the biomass obtained and concentration and/or purification of this compound.