A card can only be moved to the foundation if it is the next highest card and matches the suit of the card in the foundation. For example, you can place a queen of hearts on a jack of hearts in the foundation.