The structure of renormalization theory: renormalization, form factors and resummations in scalar field theory