What is the difference between static and dynamic friction?

Static friction is the friction that acts between two objects which are not moving in relation to each other. For example, it is the force that prevents you a block from sliding down a ramp with a small incline.

Dynamic friction is the friction that acts between two objects which are moving in relation to each other. For example, it is the force that makes pushing a heavy box across the floor difficult.