The interaction between them is called commensalism. Egrets always forage close to where the cattle are grazing because the cattle, as they move, stir up and flush out insects from the vegetation which otherwise might be difficult for the egrets to find and catch.