The contact process models epidemic spreading on a 1D lattice. Sites are active (infected) or inactive (recovered). Near the critical infection rate λ_c ≈ 3.298, the system undergoes a continuous phase transition in the directed percolation universality class.