Humpbacks have a highly specialized feeding mechanism. They only prey on krill and small fish.
The food chain really is sun -> algae -> krill (and sometimes small fish) -> humpback whale
That's just one view of the stack and isn't a systems view. Other things support and interact with those other things.
In recent years we’ve learned that humpbacks are generalist feeders with a wide variety of feeding strategies adapted to different kinds of prey.