Well... these names are somewhat out-to-date, but are still utilized:

First world was the capitalist and rich/developed countries : u.s., japan, most countries of europe, and some few others.
Second world was the socialist countries... when this classification were used, it meant russia and cuba.
And the third world was the rest. The poor and/or undeveloped ones. Or, in another words, the rest.