bride's is a possessive nounThe second sentence could have been written as: The bride's dress was ruined. These sentences would have the word bride's in twice.To avoid this repetition, the pronoun her replaces the word bride's.