Common confusion, but they're completely different:
The words share an etymological root (Spanish real = "royal"), but they've been distinct currencies for centuries. Brazil's real was introduced in 1994 (Plano Real) to end hyperinflation; Saudi Arabia's riyal dates to 1925 (Hejaz) and was unified in 1935.