More than 5000 exoplanets (planets orbiting other stars) have been discovered, showing a huge range in their properties. This diversity must find its origin in their formation history and (early) evolution.Planets form in gas- and dust rich disks that surround all young solar type stars. In recent years new observational opportunities have allowed measuring the chemical composition of the atmospheres of exoplanets. At the same time, more detailed observations of the chemical composition of planet forming disks are becoming available. Thisopens the possibility totracechemical elements - including those essential for life as we know it - from the initial stages of star formation to the interiors and atmospheres of exoplanets. In this talk recent some early results from the first year of operations of the James Webb Space Telescope will be discussed.