This textbook is designed for a one-year graduate course in real algebraic geometry, with a particular focus on positivity and sums of squares of polynomials. The first half of the book features a thorough introduction to ordered fields and real closed fields, including the Tarski–Seidenberg projection theorem and transfer principle.