<Tr> <Td> Early kingdoms period </Td> <Td> (543 BC--377 BC) </Td> </Tr> <Tr> <Td> Anuradhapura period </Td> <Td> (377 BC--AD 1017) </Td> </Tr> <Tr> <Td> Polonnaruwa period </Td> <Td> (1056--1232) </Td> </Tr> <Tr> <Td> Transitional period </Td> <Td> (1232--1505) </Td> </Tr>

Explain the role played by religion in indian literature