A foamy substance applied to the skin before shaving to soften hair and protect the skin, making shaving smoother and more comfortable.