Musty = mold in the drain pan or duct (need cleaning + UV light). Burning = electrical (shut off immediately). Rotten egg = gas leak or dead animal (call gas company first). Dirty sock = bacterial buildup on coil (needs coil cleaning).
Don’t mask AC odors with air fresheners. Find and fix the source bacterial growth in HVAC systems is a real health risk.