Questions & Answers about O peixe morreu ontem.
Peixe is a masculine noun in Portuguese, so it takes the masculine article o.
- o peixe = the fish
This is grammatical gender, not biological sex. Even if the fish were female in real life, the noun peixe is still grammatically masculine unless you specifically say something like a fêmea do peixe or use another word to clarify sex.
Also, nouns ending in -e can be either masculine or feminine, so you often just have to learn the gender with the word.