This work constitutes the report of the doctoral thesis presented by Andrés Megías Toledano in the Complutense University of Madrid in March 2025, within the Doctoral Program in Astrophysics., [EN] Starless and prestellar cores, located inside giant molecular clouds, are the very first stages in the formation of low-mass stars and of their subsequent planetary systems, like our Solar system. In this thesis, we explore the level of chemical complexity found in these objects–from their earlier stages in molecular clouds to starless and prestellar cores–, focusing on interstellar complex organic molecules (COMs). These molecules are relevant for the formation of prebiotic molecules, believed to be the precursors of life as we know it on Earth. We try to understand the relevance of the chemistry at these stages in the chemical inheritance of planetesimals and cometesimals to the final planetary system, given that complex organics such as amino acids have been found in bodies of our Solar system like meteorites, asteroid Ryugu and comet 67P/Churyumov-Gerasimenko. For this, we use radio astronomical observations, to detect gas-phase chemical species in the interstellar medium (ISM), and infrared absorption spectra, to observe solid-phase species in the icy layers of interstellar dust grains. To obtain a comprehensive view of how these COMs are formed under interstellar conditions, we also carry out the astrochemical modelling of these regions using two models, MONACO and UCLCHEM. In this work, we first present new radio astronomical observations of the emission of COMs toward the star less core L1517B, and compare our results with other observations of the starless core L1498, the prestellar core L1544, and the starless core L1521E. We find that L1517B, believed to be very young, shows the lowest level of chemical complexity, suggesting a chemical evolution along the process of gravitational collapse of these cores, where chemical complexity increases with time. In this hypothetical scenario, simple nitrogen- and oxygen bearing molecules would form first–such as acetonitrile (CH3CN) or ketene (H2CCO)–, followed by more complex molecules, especially containing oxygen, once the catastrophic depletion of carbon monoxide (CO) takes place, due to adsorption on dust grains. Finally, in the prestellar core phase, more complex compounds such as dimethyl ether (CH3OCH3) would be formed. However, the starless core L1521E presents relatively large COMs (e.g., dimethyl ether) despite its youth, suggesting that deeper observations of this type of objects must be performed to better characterise its level of chemical complexity and its possible evolutionary path. The chemical modelling of COMs under the coldest interstellar conditions in starless/pre-stellar cores suggest that these species are mainly formed on the surface of dust grains to be subsequently injected into the gas phase by non-thermal chemical processes (as, e.g., chemical reactive desorption). In order to confirm this scenario is therefore essential to constrain the presence and abundance of COMs in interstellar ices. With this goal in mind, we present a tool based in artificial neural networks called AICE (Automatic Ice Composition Estimator), coded in Python programming language and trained on hundreds of laboratory experiments, coming from different experimental groups around the world and retrieved mainly through the Leiden Ice Database for Astrochemistry (LIDA). This tool allows the user to quickly predict the composition and temperature of astronomical ices from its infrared absorption spectra. The error in the validation step for the neural networks is relatively low (~3 % for the fractional composition and ~11 K for temperature). When testing the tool with data from James Webb space telescope (JWST) we find similar results to those previously obtained by other authors with other intense computational methods, but AICE’s performance provides a much faster execution time (~0.1 s in a regular laptop), which constitutes an advantage with respect to other methods. Additionally, this model intrinsically learns the changes in the molecular band strengths due to the changes in chemical composition and temperature. AICE therefore represents a powerful tool to analyse new data from JWST, which is expected to deliver hundreds of ice absorption spectra in the near future. The detail provided by recent ice absorption spectra measured with the JWST, requires a better understand ing of the interstellar ice formation processes. Within the context of the chemical modelling group of the Ice Age collaboration, we have recently contributed with the modelling of the chemistry of the ice toward two background stars in the Chamaeleon I molecular cloud recently observed with JWST. To do this, we have used the UCLCHEM astrochemical software and we have compared the simulations with previous observations of ices from the Ice Age project. We conclude that methanol (CH3OH) is mainly formed on the surface of dust grains via hydrogenation of carbon monoxide (CO). In addition, we also find that the models that best reproduce the observations are those with intermediate collapse time scales (~105 yr) and intermediate final densities (~2 · 105 cm−3). From our work, we conclude that ice observations are crucial in order to better understand and constrain the chemistry of COMs in starless and prestellar cores. Because of this, new observations by JWST will play a key role, and our new AICE analysis tool could therefore be extremely useful for the fast and efficient analysis of such complex JWST datasets. Additionally, more gas-phase observations of starless/prestellar cores with deeper sensitivity are also needed to better characterise their chemical complexity in a deeper level, like it has been done for L1517, L1498, L1544 and, in a smaller extent, L1521E., [ES] Los núcleos sin estrella y preestelares, ubicados en el interior de grandes nubes moleculares, constituyen las primeras etapas en la formación de estrellas de baja masa y de sus posteriores sistemas planetarios, como nuestro sistema solar. En esta tesis exploramos el nivel de complejidad química encontrado en estos objetos–desde sus primeras etapas en nubes moleculares hasta núcleos sin estrella y preestelares–, centrándonos en moléculas orgánicas complejas interestelares (COMs). Estas son relevantes para la formación de moléculas prebióticas, que se cree que son los precursores de la vida tal como la conocemos en la Tierra. Nuestro objetivo es comprender la relevancia de la química en estas etapas iniciales de la herencia química desde los planetesimales y cometesimales hasta el sistema planetario final, dado que se han encontrado compuestos orgánicos complejos como los aminoácidos en cuerpos de nuestro sistema solar como meteoritos, el asteroide Ryugu y el cometa 67P/Churyumov-Gerasimenko. Para ello utilizamos observaciones radioastronómicas, que permiten detectar especies químicas en fase gaseosa en el medio interestelar (ISM), y espectros de absorción en el infrarrojo, para observar especies en fase sólida en las capas heladas de los granos de polvo interestelares. Para obtener una visión completa de cómo se forman estas COMs en condiciones interestelares, también hemos llevado a cabo el modelado astroquímico de estas regiones utilizando dos modelos, MONACO y UCLCHEM. En este trabajo, presentamos por primera vez nuevas observaciones radioastronómicas de la emisión de COMs en el núcleo sin estrella L1517B, comparando nuestros resultados con otras observaciones del núcleo sin estrella L1498, el núcleo preestelar L1544, y el núcleo sin estrella L1521E. Encontramos que L1517B, que se cree que es muy joven, posee el nivel más bajo de complejidad química, lo que sugiere una evolución química a lo largo del proceso de colapso gravitacional de estos núcleos, donde la complejidad química aumenta con el tiempo. En este escenario hipotético, primero se formarían moléculas simples que contienen nitrógeno y oxígeno–como el acetonitrilo (CH3CN) o la cetena (H2CCO)–, seguidas de moléculas más complejas, especialente con átomos de oxígeno, una vez que se produce la depleción catastrófica del monóxido de carbono(CO), debido a la adsorción en los granos de polvo. De est manera, en la fase del núcleo preestelar se formarían compuestos más complejos como el dimetil éter (CH3OCH3). Sin embargo, el núcleo sin estrella L1521E presenta COMs relativamente grandes (por ejemplo, dimetil éter) a pesar de su juventud, lo que sugiere que se deben realizar observaciones más profundas de este tipo de objetos para caracterizar mejor su rango de complejidad química y su posible camino evolutivo. El modelado químico de COMs en las frías condiciones interestelares de los núcleos sin estrella / preestelares sugiere que estas especies se forman principalmente en la superficie de los granos de polvo para ser
posteriormente inyectados en la fase gaseosa mediante procesos químicos no térmicos (como, por ejemplo,
desorción reactiva química). Para confirmar este escenario es, por tanto, esencial determinar la presencia y
abundancia de COMs en los hielos interestelares. Con este objetivo en mente, presentamos una herramienta
basada en redes neuronales artificiales llamada AICE (Automatic Ice Composition Estimator; Estimador automático de composición de hielos), programada en el lenguaje de programación Python y entrenada con cientos de experimentos de laboratorio, provenientes de diferentes grupos experimentales alrededor del mundo y obtenidos principalmente a través de la Leiden Ice Database for Astrochemistry (LIDA; Base de datos de hielos para astroquímica de Leiden). Esta herramienta, basada en redes neuronales artificiales, permite predecir rápidamente la composición y temperatura de hielos astronómicos a partir de sus espectros de absorción infrarroja. El error en la fase de validación de las redes neuronales es relativamente bajo (~3 % para la composición fraccionaria y ~11 K para la temperatura). Al probar la herramienta con datos del telescopio espacial James Webb (JWST), obtenemos resultados similares a los ya estimados previamente por otros autores con métodos computacionales más intensos, pero AICE requiere un tiempo de ejecución muy rápido (~0.1 s en un ordenador portátil normal), lo que constituye una ventaja con respecto a otros métodos. Además, este modelo aprende intrínsecamente los cambios en la intensidad de las bandas moleculares debido a los cambios en la composición química y la temperatura. Por lo tanto, AICE podría ser una herramienta clave en el análisis de nuevos datos de JWST, del que se esperan cientos de espectros en un futuro próximo. El nivel de detalle proporcionado por los recientes espectros de absorción de hielo obtenidos con el JWST hace necesario un estudio detallado de los procesos de formación de hielos interestelares. En el contexto del grupo de modelado químico de la colaboración Ice Age, hemos llevado a cabo el modelado de la química del hielo en dos estrellas de fondo en la nube molecular Chamaeleon I observada recientemente con el JWST. Para ello, hemos utilizado el programa de astroquímica UCLCHEM y hemos comparado las simulaciones con
observaciones previas de hielos del proyecto Ice Age. Concluimos que el metanol (CH3OH) se forma principalmente en la superficie de los granos de polvo mediante la hidrogenación de monóxido de carbono (CO). Además, también encontramos que los modelos que mejor reproducen las observaciones son aquellos con escalas de tiempo de colapso intermedias (~105 años) y densidades finales intermedias (~2· 105 cm−3).
De todo esto, una de las principales conclusiones es que las observaciones de hielos interestelares son cruciales para comprender mejor y determinar la química de COMs en los núcleos sin estrella y preestelares.
Debido a esto, las nuevas observaciones del JWST desempeñarán un papel clave, para cuyo análisis AICE po
dría ser una herramienta muy útil para el análisis rápido, preciso y exhaustivo de estos datos. Además, en el
futuro se planea realizar observaciones adicionales en fase gaseosa de núcleos sin estrella / preestelares con
una mejor sensibilidad para caracterizar mejor su complejidad química en un nivel más profundo, como se ha
hecho para L1517, L1498, L1544 y, en menor medida, L1521E., I want to acknowledge and thank the funding of this thesis, coming from the Spanish Ministry of Science, Innovation and Universities (formerly the Ministry of Science and Innovation) and the Spanish State Research Agency (MCIU/AEI/10.13039/501100011033), as well as the European Social Fund (ESF, Investing in your future). This funding corresponds to the predoctoral contracts for doctors training of 2019, number PRE2019-91471. I also acknowledge the funding of the first two organisations through the projects PID2019-105552RB-C41 and PID2022-136814NB-I00, with additional funding from the European Regional Development Fund (ERDF) for the last project. This thesis has been possible thanks to public funding, for which I am very grateful., Peer reviewed