Let and be topological spaces. The topology on their Cartesian product has basis the products of open sets and .
Given a (possibly infinite) set ${X_i}{i\in I}$ of topological spaces, the product topology on $\prod{i\in I} X_i$ is generated by the basis consisting of all products for open in and for all but finitely many .