A childhood fascination with bogs led one Welsh scientist to try and help save the planet.