Complex molecular mechanisms determine fitness of plants to biotic and abiotic stresses