Statistical inference and descriptive statistics differ in their objectives and methods. Descriptive statistics involve summarizing and describing the features of a dataset, typically the dataset at hand without generalizing to a larger population. This includes metrics like mean, median, mode, and standard deviation. In contrast, statistical inference focuses on making predictions or generalizations about a population based on a sample from that population, using techniques like hypothesis testing, confidence intervals, and regression analysis.