Impact investing specifically aims for measurable social or environmental impact alongside financial returns, while ESG (Environmental, Social, Governance) investing integrates ESG factors into investment analysis to manage risk and enhance returns.