Environmental impact of agricultural and industrial wastes