Volunteering is a proven pathway to employment and is a useful way to gain skills and experience. Participation in volunteering looks great on your resume and is well regarded by prospective employers. It is important to note that volunteering will not always result in paid employment.
If one of your motivations to volunteer is to gain a reference, ensure you confirm that the organisation you volunteer with is happy to provide one before you accept a role with them.