whats the difference between a sub and a function

and for what do i need the property set/get/let ?
i never used the property-thing.