To win the game, all cards should be removed from the tableau.
The foundations should be built up within the same suit and in ascending order, starting from Ace up to King. The goal in FreeCell is to move all cards from the tableau to the foundation, making use of the four free cells (also called reserve) that you can use as temporary storage.
FreeCell is a solitaire card game with all cards visible at the start of the game, which makes it quite unique compared to other solitaire games.