Well, that's an interesting question. It was not religious at the time: Michelangelo and patrons were Christian, and cupids were not part of any religion actually practiced for a long time back then.
Originally, however, cupid was the Roman/Greek god of desire or love. So the artwork refers to an originally religious concept, but was not religious at the time.