What gives an action moral value? Explain.

What gives an action moral value? Explain.