Madam and madame are both terms used to address a woman.
Madam is more formal and polite, and is often used in business or professional settings. For example: “Excuse me, madam, can you help me with this?”
On the other hand, madame is used specifically for married French women and is less commonly used in modern English. For example: “Bonjour, madame, comment ça va?”