what is the role of ATP in muscle contraction?

What is the role of calcium in muscle contraction?