What role does the concept of ESG (Environmental, Social, and Governance) play in long-term investment strategies?

Im new to the stock market plz share your thoughts. Thanks.