The subject of the sentence is “my favorite fish.”
Why
- Subject: The person, place, thing, or idea performing the action.
- Verb: The implied verb is “is.”
- “My favorite fish” is the subject.
- “Swordfish” is the predicate nominative, renaming the subject.
The sentence is a fragment and would be more complete as: “My favorite fish is swordfish.”