Twenty tawny sharks were seen wriggling in shallow water on the beach in Australia.

Local resident William Bero, who filmed the scene and posted the footage to YouTube, told a news site called Tropic Now that the sharks tend to visit beaches on Mer Island to perform this "dance" as they feast on small clams dug up by their movements.

Those clams are known as pipis and they're buried in wet sand.

CHERNOBYL SHOCKER AS FUNGI THAT EATS RADIATION FOUND INSIDE NUCLEAR REACTOR

A video captured by William Bero shows sharks doing a dance on the beach.

A video captured by William Bero shows sharks doing a dance on the beach. (William Bero/YouTube)

Tawny sharks, which are also known as nurse sharks or rusty sharks, can grow to be up to 10 feet long, and their diet includes sea snakes, fish, clams and urchins, according to the Florida Museum.

“What happens is they sit and wait for the pipi shells to come up,” Bero explained to the local news site. “When the tide is at a particular point, the pipi shells emerge.”

INCREDIBLE NASA VIDEO SHOWS WHAT EARTH WOULD LOOK LIKE IF OCEANS DISAPPEARED

Bero also explained that his family, which was about to go fishing, doesn't disturb or try to capture the sharks.

“Sharks are totems for families on the Murray Islands," Bero said. “We have respect for everything around us, it’s all there for our appreciation and not to destroy or over-fish or do any harm."

GET THE FOX NEWS APP