The jaguar is largely a solitary , opportunistic , stalk-and-ambush predator at the top of the food chain ( an apex predator ) .
It is an ambush predator .