can x and y trade with sun and moon?
Pokemon Sun and Moon are not compatible with the Generation 6 series of games: Pokemon X and Y; and Pokemon Omega Ruby and Alpha Sapphire. You won't be able to trade or battle between these games and Pokemon Sun and Moon, therefore you'll need a special app called the Pokemon Bank to transfer your Pokemon.