To give out in a certain quantity or amount.
The pharmacist dispenses the correct number of pills for each prescription.
This word comes from the Latin verb 'dispensare', which means "to distribute".