When I first watched Egrets hunting in swamps and mangroves I always assumed they were fishing. Having heads up and looking through the branches or reeds never meant anything. Again, they eat fish.
No, they eat anything ! I finally caught them snatching small lizards, insects, and other assorted creepy things.
The bird above is probably looking for small Anole lizards.