The question asks about a past action ('yesterday'), so the answer must use the past tense. 'I swam' (option D) is the simple past tense of 'swim', correctly indicating a completed action yesterday. Options A, B, and C use wrong tenses - present continuous (am swimming), simple present (swim), and future (will swim) respectively.