The dog is walking on the sand beside the ocean .