Millions of people have joined a 45-day Hindu bathing festival in India.

Devotees at the festival, in the northern Indian city of Prayagraj, take a dip at Sangam, the sacred confluence of several rivers.

There, they bathe on certain days considered to be auspicious in the belief that they will be cleansed of all sins.

A Hindu pilgrim prays during the festival
A Hindu pilgrim prays during the festival (Rajesh Kumar Singh/AP)

Rows and rows of colourful tents, in which the devotees stay, line the sprawling festival site.

Millions of Hindus travel every year to the event, called Magh Mela, where pilgrims offer prayers and enter the holy waters where the Ganga, Yamuna and mythical Saraswati rivers meet.

In Hinduism, this period is called Kalpvas and the devotees who choose to stay for the entire time are known as Kalpvasis.

India bathing festival
Millions have joined the festival (Rajesh Kumar Singh)

They give up their daily routine and instead camp at the site, living on frugal meals and performing rituals.

Virender Kumar Shukla, a Kalpvasi devotee, is attending for the fifth time.

He said he hopes by offering prayers to “find a place in heaven” and earn “a better rebirth”.

A Hindu holy man watches pilgrims walk past
A Hindu holy man watches pilgrims walk past (Rajesh Kumar Singh/AP)

Authorities took months to build what looks like a temporary tented city on the river banks.

Police patrol the site and floating bridges were built to help people get from one side of the river to the other.

Boats ferry pilgrims from the bank of the Yamuna to the Sangam, where they bathe in the holy water and offer their prayers.

Devotees at the Hindu bathing festival in India
Devotees at the Hindu bathing festival in India (Rajesh Kumar Singh/AP)

The festival is being held even though Covid-19 cases in some parts of the country are rising after months of steady decline. India has confirmed 11 million cases and more than 150,000 deaths.

Health officials have told local media that they have tested tens of thousands of pilgrims for the virus since the festival began on January 14. It is set to end on February 27.