During the times of the Bais Hamikdash, one who experienced a miracle would bring a Korban Todah, a sacrifice of gratitude to Hashem. Nowadays, we say Mizmor L’Sodah in its place.
Why do we say Mizmor L’Sodah every day? Because not a day goes by that we don’t experience miracles . ~ Olas Tamid