Why training at high altitude could improve the performance of the athlete?

This way when they go out in a professional competition, when they breathe it's a lot easier and so they can go for longer.