Based on 3D smoothed particle hydrodynamics simulations performed with unprecedented high resolution, this book examines the giant impacts that dominate many planets' late accretion and evolution. The numerical methods developed are now publicly available, greatly facilitating future studies of planetary impacts in our solar system and exoplanetary systems. The book focuses on four main topics: (1) The development of new methods...