Why do we say the Pledge of Allegiance?

Why do we say the Pledge of Allegiance?