It is also written that Chandra was the son of Surya. It is also said that he was the son of Atri. The Lunar dynasty of kings begins from him. Chandra married the daughters of Daksha, the fourth of whom Rohini, was his favourite one. For this partiality the other daughters complained to their father. Daksha argued with him and on his insistence cursed him with a consumption that continued for fifteen days and at the end of which he repented. Daksha, then, restored him to health in fifteen days. That explains the fluctuations in the appearance of the moon.
He acted as the accomplice of Indra in the seduction of Ahalya and received a permanent blemish on his face. Chandra is also famous for the criminal passion of Tara, the wife of god Brahaspati and abducted her. For this sinful act, Varuna, his father (Because Varuna is the god of ocean and Chandra was bom from the ocean) felt greatly ashamed, but his sister Lakshmi wanted to restore the honour of his dishonoured brother. She asked Parvati to influence her husband god Shiva for this. On her appeal, in order to exalt Chandra, Shiva wore him on his forehead. See : Shiva and Indra
References :
1. Kohli, Surindar Singh (ed), Dictionary of Mythological References in Guru Granth Sahib, 1993