Just checked my oil dipstick and the oil level is at 50% and there was a yellow foam on top of the dipstick.

What is the yellow foam on my dipstick?