High-dimensional and nonparametric statistical models are ubiquitous in modern data science. This book develops a mathematically coherent and objective approach to statistical inference in such models, with a focus on function estimation problems arising from random samples (density estimation) or from Gaussian regression/signal in white noise problems.