Memory Foams are a petroleum-based product, and they contain a core substance known as polyurethane. Other substances which are used are isocyanate, polyols, etc. The type of mattress is designed in such a way that when you exact pressure on it, it comes back to its original shape. Memory foam is not like other polyurethane-based products, it gives a smooth and cool contact with your body, and as a result, you won't experience pain, discomfort in any part of your body.
Memory foam is designed to conform to your sleeping position without creating any form of discomfort. Latex Foam Mattress, on the other hand, is made from natural latex, which is essentially rubber. This natural latex is gotten from the sap of rubber trees, after which it will be subjected to various processes. One of the processes is Dunlop, who is used to baking, molding the latex. Another one is the Talalay process. The major difference between the two mattresses is that one is based on artificial material, while the other is made from natural material.