Latex is an emulsion naturally secreted by some plants when their skin is pierced in some way. The latex of poppies is used to make opium & heroin. The rubber tree secretes a latex which can be used to make rubber. Rubber can be processed to varying extents (including vulcanisation) - but the processing doesn't make it rubber. So rubber is a particular latex.