This is a review on medical application of particle and heavy ion transport code system PHITS by JSRT and JSMP (https://www.jsmp.org/en).