What is the difference between a motion, a resolution and a petition?

A motion is a proposal made by an MP that Parliament or a Committee of Parliament do something or order that something be done or express an opinion with regard to an issue.

A Resolution is a formal statement of an opinion or decision agreed upon by Parliament or any of its committees.

A Petition is a written prayer or plea presented to Parliament.