Can anyone explain why Man City paid £47m for a pl…

Can anyone explain why Man City paid £47m for a player who couldn’t get in the Everton team?