Valorization of agricultural wastes for multidimensional use