When rhubarb jam is used in a cake, it imparts a sweet and tangy flavor that complements the other ingredients. It also adds moisture and a fruity element to the cake, enhancing its overall flavor profile. In general, you can expect the rhubarb jam to contribute a pleasant tartness and a subtle fruity note.