Real algebraic structures on topological spaces