The National Lottery award will help plant trees, restore peatland and improve sustainable transport.