Latex is a complex emulsion consisting primarily of polyisoprene and water, though it also contains proteins, resins, sugars, and other compounds. It is primarily obtained from the sap of rubber trees, particularly Hevea brasiliensis, but can also be found in other plants and even some fungi.