This paper provides a survey of mathematical models and methods dealing with the analysis and simulation of tumor dynamics in competition with the immune system. The characteristic scales of the phenomena are identified and the mathematical literature on models and problems developed on each scale is reviewed and critically analyzed. Moreover, this paper deals with the modeling and optimization of therapeutical actions. The aim of the critical analysis and review consists in providing the background framework towards the development of research perspectives in this promising new field of applied mathematics.