What does "simony" mean?

Simony: The crime of buying or selling ecclesiastical preferment; the corrupt presentation of any one to an ecclesiastical benefice for money or reward. Piers Plowman.

Sources