Is the word "connection" used in the same way in the following two sentences?

The connection between church and state is inescapable.

The connection between overeating and obesity.
the same meaning