waht does the idom catch a cold mean

What does the idiom "catch a cold" mean?

You don't literally catch anything, such as a ball, but the idiom means that you get sick with a cold.