Answer:
Its function is to keep the direction of gaze constant or fixed. In principle, an animal can compensate for changes in its body position by moving either its head or its eyes, or both.
i hope its helps:)