Both are soft cheeses, but ricotta is a grainy cheese while cream cheese is smooth. The amount of salt is also different, and ricotta tends to be sweeter.