I review the basics of perturbative QCD, including infrared divergences and safety, collinear and $k_T$ factorization theorems, and various evolution equations and resummation techniques for single- and double-logarithmic corrections. I then elaborate its applications to studies of jet substructures and hadronic two-body heavy-quark decays.