As communities continue to feel financial strain due to the rising cost of basic needs like food and transportation, Duke Energy and its Foundation are investing more than $40 million to support nonprofits and other programs dedicated to help those in need.