The world cup is for nation teams, as well as the confederations cup, the UEFA, etc. There are specific events for each category, although they might be called almost the same: there are several "world cups", one for the main team, another for the sub-20 team, etc.