These data have provided new insights into the generation mechanisms of X-rays in young stars. Our results show that at such young ages already, stellar magnetic fields seem to be generated by an internal dynamo similar to the solar dynamo. However, evidence was found that some X-rays in strongly accreting stars may not be generated in a magnetic corona but in shocks forming in jets that themselves are a consequence of the accretion process.