The age of a fish can be determined by examining its otoliths, which are small structures in the fish's inner ear. Otoliths have rings, similar to tree rings, that can be counted to estimate the age of the fish. Other methods include analyzing growth rings on scales, fin rays, or spines, as well as using chemical markers in the fish's body.