Scientists are creating a sunscreen pill that could provide weeks of protection from the sun.

Researchers from King's College London are visiting Australia's Great Barrier Reef to study endangered coral. The scientists plan to harness the coral's natural defense against the sun's harmful rays in order to create a tablet for humans.

First they will create a lotion that they will test on human skin, before creating a pill.

According to the Guardian, the pill could be available in five years.

Scientists have already discovered that animals such as salmon and red ocean plants are beneficial for patients with skin cancer as they help minimise the damage caused by the sun.