It tells us about what were casts, vernas and what were their functions.
It tells us to worship Agni(fire), Jal(water), Prithvi(earth), Akash(sky). So it basically emphasizes to keep clean our environment otherwise there will be drastic problems. This is biggest problem of present time, we are not keeping clean our environment and because of pollution we are facing many problems like GH effact etc.
So we can say that Vedas also provides knowledge of many other things of ancient time and also emphasize to practice humanistic acts and stay away from inhuman acts and worship our environment like gods otherwise we will have to face unimaginable problems.