Your partner and opponents do not know what cards you have. However, they do keep track of which cards have been played so they can make informed choices about which cards they play. For example, your partner may lead hearts when they know that you are out of them in hopes that you will be able to easily win more tricks by playing spades