The acquisition of interests or rights in real property for the preservation of open spaces or areas constitutes a public purpose for which public funds may be expended or advanced.