Thank you for the opportunity to help you with your question!
Religion is important because it benefits society by teaching people the art of self-sufficiency and ideas that being charitable is important. Since cooperation is important in society, religion enforces that by teaching people to be less selfish and to help fellow community members when they are in need.Religion also gives people something to believe in, which can make them happier and more comfortable. It provides believers with a meaning for life and helps them work towards being a productive, moral person.
Please let me know if you need any clarification. I'm always happy to answer your questions.