David Cameron was shown the busiest section of railway in Wales, near Cardiff Central station, where the electrification of the Great Western main line and the Valleys lines will intersect.
The Prime Minister was shown round by Mark Langman of Network Rail Wales.
More top news
Missed Tuesday's Wales at Six? Catch up here.
Beaches across the country welcomed huge crowds as they enjoyed the top temperatures.
Police say a man's death following an explosion in a garage in Pontypool is not being treated as suspicious.