Cohesion refers to the attractive force between molecules of the same substance, while adhesion is the attractive force between molecules of different substances. These forces are crucial in phenomena like capillary action, surface tension, and the behavior of liquids in various environments.