Chinnakalai of Namakkal district complained of chest pain around midnight and died while being rushed to a hospital by the prison officials, they said.
A case had been registered in connection with the death and investigations were on, police said.
Election Results for Lok Sabha Election 2019 will be out on May 23. Get the latest election news and live updates on ndtv.com/elections. Catch all the action on NDTV Live. Like us on Facebook or follow us on Twitter and Instagram for news updates from each of the 543 parliamentary seats for the election 2019