The most promising mechanisms for producing and accelerating relativistic jets, and maintaining collimated structure of relativistic jets from accretion flows onto black holes involve magnetohydrodynamical (MHD) processes. We have investigated the role of magnetic field in relativistic jets and accretion flows onto black hole via general-relativistic MHD simulations. I found that relativistic jets involving helical magnetic field are unstable via a current-driven kink instability, which leads to helically distorted structure in relativistic jets and dissipates the jet's magnetic energy through magnetic reconnection. I found that an over-pressured relativistic jet leads to the generation of a series of stationary recollimation shocks and rarefaction structures which corresponds to stationary emission components observed in relativistic jets. I also present our new 3D AMR-GRMHD code BHAC and its application to black-hole accretion flows onto a black hole to capture the observational signatures of a black-hole, so-called black hole shadow observed by EHT and future space VLBI.
