What is an IPO (Initial Public Offering)? Explain its importance for both companies and investors.