Necessity follows from commutativity of the fibre product of schemes square: if and , then .
For sufficiency, put and , , . The maps on local rings induce field embeddings . The canonical point maps into and therefore give a morphism of schemes
The tensor product of commutative algebras is nonzero. To see the hinted fact directly, choose a -basis of containing ; tensoring that basis with makes nonzero. A nonzero unital commutative ring has a prime ideal, so its spectrum of a commutative ring has a point . Its projections to the two field spectra are their unique points. The image of consequently projects to and .
The desired point exists precisely when the base images coincide. This is the point-lifting property of a scheme fibre product. It does not claim that such a point is unique: different prime ideals of the tensor product may give different points over the same pair.
A fibre product of schemes has projection morphisms to and with equal composites to , and for every scheme the induced map is a bijection
This universal property determines uniquely up to unique isomorphism. On affine charts over , take
The tensor product of commutative algebras has the required universal property for ring maps. Localization identifies these constructions on principal-open overlaps. Cover the base and its two inverse images by affine charts and glue the resulting affine products along those overlaps; their local universal properties give the global one.
For a counterexample to preservation of irreducibility, take and with their usual structure morphisms. All three are integral schemes, but the Chinese remainder theorem gives
The product scheme is the disjoint union of two points, so it is not irreducible.