Milestoning is a combination of the reaction path approach and molecular dynamics simulations that uses coarser representation of space to extract a stochastic model and compute rates in complex systems. The theory and the algorithm will be described and applications to peptide folding and conformational transitions in proteins will be discussed.