Exploring Ferroelectricity: From Fundamentals to Applications