Celibacy and Renunciation

Is renunciation and celibacy important for attaining Moksha? If celibacy is not important then why do monks take that path? How does renunciation help the monks better than laymen? In what ways is their path better compared to those who lead a married life? Request you to answer this for me.