The book is a comprehensive, self-contained introduction to the mathematical modeling and analysis of infectious diseases. It includes model building, fitting to data, local and global analysis techniques. Various types of deterministic dynamical models are considered: ordinary differential equation models, delay-differential equation models, difference equation models, age-structured PDE models and diffusion models. It includes various techniques for the computation of the basic reproduction number as well as approaches to the epidemiological interpretation of the reproduction number. MATLAB code is included to facilitate the data fitting and the simulation with age-structured models.