What was the orginial function of parliament?

To allow representation by the varying classes of society (e.g.) the nobility, clergy, and lower class) to have some ability to restrain the Monarch's ability to tax them arbitrarily.