Why do we warm-up and cool down

Why do we warm up and cool down