Piano: What are the pedals do?

What are the pedals on the piano used for? Richard Casey explains in this film.