Text, meaning, and application

What role does «كَمَا» have in «كَمَا تَأْكُلُ الْبَقَرَةُ»?

Loss of the Righteous, Patience in Faith, and Protection from Social Trials (Reports 12–17)